Repeating Trigger

Werbung:

TerranUp16

New Member
You can give it a Periodic Time Event, in which it will constantly repeat until it's turned off. Basically, just have another trigger turn it on, and then, when it's done, turn it off. You can also use for loops if you know how long you'll want the loop to repeat itself. I think WC3 also has while loops, but I haven't been doing WC3 triggering for awhile (but, I have 5 years xp in Java, 3 years xp in C++, and 3 year xp in VB).
 

asasin850

New Member
Or if you want it to repeat constantly after it completes itself simply add a line at the very end of the trigger

Trigger - Run trigger "Trigger name" ignoring (or Not ignoring whatever you want) Conditions

But depending on how you use it this way might cause the game to crash....Id only recomend using it if you have a variable related timer involved somehow..

...bsaially use "Periodic event - Timer expires"
 
Werbung:
Top