Events
Time - Every 1.00 seconds of game time
Conditions
Actions
For each (Integer A) from 1 to 2, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Team_Flag_Captured[(Integer A)] Equal to 3
Then - Actions
Game - Victory Player 1 (Red) (Show dialogs, Show scores)
Game - Victory Player 2 (Blue) (Show dialogs, Show scores)
Game - Victory Player 3 (Teal) (Show dialogs, Show scores)
Else - Actions
Set IntegerFlagsTeam1 = IntegerFlagsTeam1 + 1
Event
Time - Every 2 seconds of game time.
Condition
IntegerFlagsTeam1 equal to 3
Action
Victory Team1
Defeat Team2