December 12, 2024, 04:48:48 AM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Forum rules
-
please read before posting, it can save you a lot of time.
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
It about ChangeScene
« previous
next »
Pages: [
1
]
Print
Author
Topic: It about ChangeScene (Read 4126 times)
0 Members and 1 Guest are viewing this topic.
Dan-D
Occasional poster
Karma: 0
Offline
Posts: 89
It about ChangeScene
«
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
Logged
metamorphium
Global Moderator
Addicted to WME forum
Karma: 12
Offline
Gender:
Posts: 1511
Vampires!
Re: It about ChangeScene
«
Reply #1 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.
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet
Dan-D
Occasional poster
Karma: 0
Offline
Posts: 89
Re: It about ChangeScene
«
Reply #2 on:
June 07, 2007, 11:41:27 PM »
ok. Thanks!
Logged
Dan-D
Occasional poster
Karma: 0
Offline
Posts: 89
Re: It about ChangeScene
«
Reply #3 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"?
Logged
metamorphium
Global Moderator
Addicted to WME forum
Karma: 12
Offline
Gender:
Posts: 1511
Vampires!
Re: It about ChangeScene
«
Reply #4 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.
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
It about ChangeScene