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

Creating Triggers

Status
Not open for further replies.
Level 3
Joined
May 15, 2012
Messages
61
What do you want to achieve?

If you would write "createTrigger blabla that does yaddayadda" then you actually could write the trigger itself...? I can't image that JASS can do this, but i have no knowledge about JASS...
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Some say that call DestroyTrigger(GetTriggeringTrigger()) will cause a handle corrupt, that will eventually will make your game less efficient.
Better leave it as it is, or even Turn them off for accidentally fire the trigger most of the time.

For creating trigger via... trigger is not possible, I repeat, not possible. (local trigger ?)

Creating an empty trigger via Trigger Editor is reasonable and possible and when you want to add the Event, just do what Vlad had stated but mostly you will have a static Conditions and Actions.
 
Last edited:
Status
Not open for further replies.
Top