Page 1 of 1

Change a component state of an Entity

Posted: Tue Nov 18, 2014 8:29 am
by KhellQc
Hey guys,



Current setup
A floor_trigger that on activate starts a Timer which activate every second a Fire_trap_rune Spawner
and then the floor_trigger on deActivate stops it

What I want
After 30 seconds, I want it to be in-actionable as if there was nothing there

My solution
I was thinking maybe get a Timer to turn on the *disableself feature on the Spawner


My question
How would you script that or/ What do you suggest

Re: Change a component state of an Entity

Posted: Tue Nov 18, 2014 6:46 pm
by QuintinStone
make a delayedCall to disable the spawner
or the floor trigger also triggers a 2nd timer object that waits 30 seconds and then disables the spawner (and itself)