Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started 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.
-
yes, here's an excerpt of one of our scene_init.script files:
// 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;
-
Wow, that was quick, thanks for help