Destroy actor on timer
Posted: Fri Jul 24, 2009 12:00 pm
I need an actor to get destroyed after the timer is up (6000 ms)
I tried doing this: Add<Timer(destroy_it)<Destroy Actor(event actor).
And the timer's settings are: Periodic, 6000 ms, 1 times.
And basically the actor I want to destroy ends the game, so I only want it to go off once.
It looks ok to me, what am I doing wrong?
I tried doing this: Add<Timer(destroy_it)<Destroy Actor(event actor).
And the timer's settings are: Periodic, 6000 ms, 1 times.
And basically the actor I want to destroy ends the game, so I only want it to go off once.
It looks ok to me, what am I doing wrong?