• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Trigger Problem

Status
Not open for further replies.

TwilightSoul

T

TwilightSoul

i need to remove an event, I don't know if it's possible, I don't care if it's in jass or simple GUI but if it's in Jass pls explain

ty <3


(sorry I#m not very good in english xD)
 
You could make 2 of the same trigger except one does not have the event. Whenever you want it removed just turn on the trigger without the event and turn off the one that does have the event.
 
oh sorry I forgot something:
I need to remove the event because I'm adding a new one (there's a funktion 'Add Event 'Event'' )
and before I run the system again I need to remove the previous event

hope you understand what I mean xD
 
The above won't work, the trigger will run for both events. Triggers can have more than 1 events.
The only way is to use an external trigger as the 'event', eg.
  • Event
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • -------- Instead of putting actions, we run another trigger --------
      • Trigger - Run Another trigger <gen> (checking conditions)
 
Status
Not open for further replies.
Back
Top