- Joined
- Mar 18, 2012
- Messages
- 1,716
That's a fact:
Events are never destroyed. When a unit event is registered to a trigger and that unit no longer exists, the event remains.
My Question is:
in the function myFunction I remove and null myRegion and destroy myTrigger, is there an remaining Event or not?
Events are never destroyed. When a unit event is registered to a trigger and that unit no longer exists, the event remains.
My Question is:
call TriggerRegisterEnterRegion(myTrigger, myRegion, null)
call TriggerAddCondition(Condition(function thistype.myFunction))
in the function myFunction I remove and null myRegion and destroy myTrigger, is there an remaining Event or not?