- Joined
- Sep 11, 2006
- Messages
- 172
Quick question. In the GUI, does Skip Remaining Actions function as an effective exit loop when placed within an integer loop that has a condition within it?
Example:
Example:
-
Special Light Room
- Events
- Conditions
-
Actions
-
Destructible - Pick every destructible in RegOp and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Destructible-type of (Picked destructible)) Equal to |cffff8c00Power Console|r
-
Then - Actions
-
For each (Integer Index[2]) from 1 to 352, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Picked destructible) Equal to PowerConsole[Index[2]]
-
Then - Actions
- -------- Make Visible/Buildable --------
- Visibility - Enable LightMask[Index[2]]
- Visibility - Disable DarkMask[Index[2]]
- Set Switch = 1
- Trigger - Run Power and Lighting On <gen> (ignoring conditions)
- Destructible - Remove (Picked destructible)
- -------- Run Waves --------
- Trigger - Run Turn Wave <gen> (checking conditions)
- Trigger - Run Income <gen> (checking conditions)
- Skip remaining actions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer Index[2]) from 1 to 352, do (Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Destructible - Pick every destructible in RegOp and do (Actions)