• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

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