Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: It about ChangeScene  (Read 3678 times)

0 Members and 1 Guest are viewing this topic.

Dan-D

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 89
    • View Profile
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 Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
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 Offline
  • Posts: 89
    • View Profile
Re: It about ChangeScene
« Reply #2 on: June 07, 2007, 11:41:27 PM »

ok. Thanks!
Logged

Dan-D

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 89
    • View Profile
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 Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
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
 

Page created in 0.019 seconds with 21 queries.