Does TriggerClearActions() work?

Evan1993

Ultra Cool Member
Reaction score
30
And if it doesn't what to use instead? Make a new trigger every time I want new actions and not the old ones?
 

0zaru

Learning vJASS ;)
Reaction score
60
No It doesn't work. You have to destroy trigger action manually by attaching them to something.
 

Waaaaagh

I lost all my rep and my title being a jerk
Reaction score
70
Unless I'm mistaken, TriggerClearActions() clears the actions from a trigger, but it doesn't destroy the actions. TriggerClearConditions() both clears and destroys the conditions. Which means TriggerClearActions() leaks and TriggerClearConditions() doesn't. Hence, the use of hijacked conditions in dynamic trigger systems.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top