Author Topic: Need help (Actors)  (Read 1678 times)

0 Members and 1 Guest are viewing this topic.

Offline Lancelot

Need help (Actors)
« on: January 11, 2004, 10:47:42 AM »
How can i move an npc from one room to another.



Offline Jim C

Re:Need help (Actors)
« Reply #1 on: January 11, 2004, 11:29:38 AM »
I don't know if this is the best way, but what I would do is this:

When a certain condition is met, make the npc walk to the door, make it open, and hide() the npc. Then set a global variable (flag) in main.sc to 1. Then, when the flag is 1, every time the ego walks into the original room, don't initialize the npc. And every time the ego walks into the room the npc walked into, initialize the npc there. Did that make sense?

Offline Lancelot

Re:Need help (Actors)
« Reply #2 on: January 11, 2004, 11:38:09 PM »
Thanks
I think that would do it.I will try it today.


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.04 seconds with 21 queries.