Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: Amo on August 11, 2006, 05:03:31 PM

Title: 3d Actor walks in scene
Post by: Amo on August 11, 2006, 05:03:31 PM
Hi there.
Is it possible to script, that a charakter walks to a specific position after changing the scene?

E.g. Trinity walks to a scene changing area, the scene changes and she walks from an defined start point to an defined end point?

Thanks for help.
Title: Re: 3d Actor walks in scene
Post by: adonf on August 11, 2006, 05:10:33 PM
yes, here's an excerpt of one of our scene_init.script files:

Code: [Select]
// initial positon for the actor, nicely hard-coded ;)
actor.SkipTo(134, 552);
actor.Direction = DI_UPRIGHT;
// show scene
Game.HideLoadingIcon();
Game.FadeIn();
// start the scene with the actor moving
actor.GoTo(178, 548);
Game.Interactive = true;

Title: Re: 3d Actor walks in scene
Post by: Amo on August 11, 2006, 05:21:40 PM
Wow, that was quick, thanks for help