Remove Event from trigger

Igor_Z

You can change this now in User CP.
Reaction score
61
Is there a way to remove an event from a trigger? If not in GUI myb it is possible in JASS. Please tell me if u know
 

Exide

I am amazingly focused right now!
Reaction score
448
You can disable the trigger, and run it whenever you need it via another trigger:

Code:
Untitled Trigger 001
    Events
    Conditions
    Actions
        Trigger - Turn off (This trigger)
        Trigger - Run (This trigger) (ignoring conditions)
 

Igor_Z

You can change this now in User CP.
Reaction score
61
Hmm, is there another way because i want to add an event to a trigger when my unit attacks and then remove it at the end
 

Happy

Well-Known Member
Reaction score
71
what you want the trigger to do then?? maybe theres another way then what you want ^^

EDIT: ignor my post....havent seen that the thread was made 2 years ago -.-
 

Bird

Ultra Cool Member
Reaction score
29
I bumped this because... I am having some map crashes, and I thought this might/could be a cause...

Trigger:
  • Trigger - Add to DMGSRC <gen> the event (Unit - (Triggering unit) Takes damage)

^ Every time a Unit enters the map, I add it to my Damage Source detection trigger... but then when a Unit Decays I wanted to then remove them from this trigger, so infinite Units (most of whom don't exist anymore) are not still in this trigger.
 
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