- Joined
- Aug 4, 2006
- Messages
- 357
world editor supports adding events to triggers, but is there any way to remove events from triggers (or at least replace them)?
for example, i want to be able to change how often a periodic trigger runs. the trigger starts off with no events. i do
to make it start spawning units every unitSpawnDelay seconds. I want to remove this event later, change the value of unitSpawnDelay, and add the event again. i'm not sure if adding another periodic event would just overwrite the old one, but i would assume not.
for example, i want to be able to change how often a periodic trigger runs. the trigger starts off with no events. i do
JASS:
call TriggerRegisterTimerEventPeriodic( gg_trg_periodic_unit_spawn, udg_unitSpawnDelay )