• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] Checking all conditions before executing actions

Status
Not open for further replies.
Level 9
Joined
Dec 31, 2016
Messages
316
I have this trigger
  • Test trigger
    • Events
    • Conditions
    • Actions
      • For each (Integer A) from 1 to NRegion, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • TGB[(Integer A)] Equal to True
            • Then - Actions
              • Game - Display to (All players) for 999.00 seconds the text: 1
              • Trigger - Run Tree Gen Finish <gen> (checking conditions)
            • Else - Actions
What I need to do is to check all "TGB" conditions before executing the actions. In this trigger if one "TGB" is true then immediatelly actions are executed, obviously. I don't know how to do that. Any help?
 
Level 15
Joined
Mar 25, 2016
Messages
1,327
whenever it is not true use: skip remaining actions.
Put what you want to do when everything is true at the end of the trigger
 
Status
Not open for further replies.
Top