So basically I have a periodic event that I want to "Reset."
What it does is spawn creeps every 30 seconds, stopping or turning this trigger off however doesn't seem to reset it. For example, if the trigger is stopped and turned off at 1:46 game time, when I turn it on it doesn't trigger at 2:16 like I would like but at 2:00.
I believe the "Periodic" event basically just triggers whenever your specified period divides evenly into the current game time.
If you want more precise control when starting and stopping spawns, you'll want to use an actual Timer object and then run the trigger based on the value of the Timer.
I believe the "Periodic" event basically just triggers whenever your specified period divides evenly into the current game time.
If you want more precise control when starting and stopping spawns, you'll want to use an actual Timer object and then run the trigger based on the value of the Timer.
Ah k the timers seem to do the job perfectly!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So basically I have a periodic event that I want to "Reset."
What it does is spawn creeps every 30 seconds, stopping or turning this trigger off however doesn't seem to reset it. For example, if the trigger is stopped and turned off at 1:46 game time, when I turn it on it doesn't trigger at 2:16 like I would like but at 2:00.
I believe the "Periodic" event basically just triggers whenever your specified period divides evenly into the current game time.
If you want more precise control when starting and stopping spawns, you'll want to use an actual Timer object and then run the trigger based on the value of the Timer.
Ah k the timers seem to do the job perfectly!