Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: Dan-D on June 07, 2007, 10:36:03 PM

Title: It about ChangeScene
Post by: Dan-D on June 07, 2007, 10:36:03 PM
I know it's been talking a lot about this but i still don't get it. How make actors stay in the same place when switching between scenes? With Game.ChangeScene they're just disappearing
Title: Re: It about ChangeScene
Post by: metamorphium on June 07, 2007, 11:22:55 PM
you have to position them in the same place through actor.SkipTo(x,y); in scene_init.script.
Title: Re: It about ChangeScene
Post by: Dan-D on June 07, 2007, 11:41:27 PM
ok. Thanks!
Title: Re: It about ChangeScene
Post by: Dan-D on June 07, 2007, 11:59:41 PM
But if I have some NPC that start following me when i switching from room "A" to room "B"?
Title: Re: It about ChangeScene
Post by: metamorphium on June 08, 2007, 08:37:47 AM
you can call the same function for them as well.

actor.SkipTo(x,y);
actor2.SkipTo(x,y);
etc.