removing events from triggers

Status
Not open for further replies.
Level 8
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
JASS:
call TriggerRegisterTimerEventPeriodic( gg_trg_periodic_unit_spawn, udg_unitSpawnDelay )
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.
 
Maybe you could disable your trigger and enable another one with a different value?

Or have an integer variable for the spawn delay, and just set it to a different value?

I really don't know JASS that much and I may of misunderstood your question.
 
Status
Not open for further replies.
Back
Top