Timed Off Scene Events
omeedg
Member Posts: 2
Hi, I'm pretty new to Gamesalad and I'm trying to get an idea of exactly what I can do with it. One thing I haven't been able to determine is whether you are able to set events into motion in one scene, exit the scene and enter another scene and have the events you set in motion in the previous scene continue.
An example would be to enter a scene, press a button that spawns an actor in 100 seconds. Leave the scene and go to another scene. Meanwhile the event you set in motion continues, so after 100 seconds you go back to the first scene where you were spawning an actor, the actor will have been spawned.
Thanks for your help.
An example would be to enter a scene, press a button that spawns an actor in 100 seconds. Leave the scene and go to another scene. Meanwhile the event you set in motion continues, so after 100 seconds you go back to the first scene where you were spawning an actor, the actor will have been spawned.
Thanks for your help.
Comments
And in regards to timings between the two. There is the game level master timer and then each actor has its own timer that starts upon initial spawn (or scene load if the actor was manually placed). You could record the (game) time as event start time in the one scene and then in any other scenes, just compute the offset from that start time to see if the 100 seconds are up.
If you don't actually leave the scene, you always have the timers and the "after xx seconds" version of the timer.