- Joined
- Feb 23, 2007
- Messages
- 1,030
I use GUI. I have a trigger where I add an event to a trigger and then I need a way to remove it or else they will stack up. Is there any way to do this? Some custom script I can add in?
Is there an alternative?
This is what im doing now.
Other trigger.
Events: *none because I add events to it*
Conditions: Picked unit has buff.
Actions:
Turn off this trigger
Deal damage taken to picked unit
>Insert remove event script<
Turn on this trigger
I use Silence to add a buff to the units. Then i select all units with that buff in casting range and add them to unit group. Then i select all units in group and add the event.
Is there an alternative?
This is what im doing now.
Other trigger.
Events: *none because I add events to it*
Conditions: Picked unit has buff.
Actions:
Turn off this trigger
Deal damage taken to picked unit
>Insert remove event script<
Turn on this trigger
I use Silence to add a buff to the units. Then i select all units with that buff in casting range and add them to unit group. Then i select all units in group and add the event.