• 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.

Trigger Problem

Status
Not open for further replies.
Level 2
Joined
Dec 10, 2010
Messages
8
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)
 
Level 2
Joined
Dec 10, 2010
Messages
8
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.
Top