- Joined
- Feb 22, 2013
- Messages
- 161
So the thing I need help with, is I am having 2 types of units spawn per 30 seconds (a wave), and then an additional unit spawns every 3 waves and then eventually every 2 waves within 35 minutes into the game itself. But I can't figure out how to keep track of wave counting without having to use a ton of if/then/else to say if the wave is on wave 3 then spawn this unit... Help would be much appreciated!
-
Spawning
-
Events
- Time - Every 30.00 seconds of game time
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Barracks 0138 <gen> is alive) Equal to True
-
Then - Actions
- Trigger - Run ABarracks 1 <gen> (ignoring conditions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Barracks 0006 <gen> is alive) Equal to True
-
Then - Actions
- Trigger - Run ABarracks 2 <gen> (ignoring conditions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Barracks 0139 <gen> is alive) Equal to True
-
Then - Actions
- Trigger - Run ABarracks 3 <gen> (ignoring conditions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Barracks 0095 <gen> is alive) Equal to True
-
Then - Actions
- Trigger - Run HBarracks 1 <gen> (ignoring conditions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Barracks 0013 <gen> is alive) Equal to True
-
Then - Actions
- Trigger - Run HBarracks 2 <gen> (ignoring conditions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Barracks 0096 <gen> is alive) Equal to True
-
Then - Actions
- Trigger - Run HBarracks 3 <gen> (ignoring conditions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
ABarracks 1
- Events
- Conditions
-
Actions
- Unit - Create 3 AllianceUnit[1] for Player 2 (Blue) at (Center of ABottomUnitSp <gen>) facing 180.00 degrees
- Unit - Create 3 AllianceUnit[2] for Player 2 (Blue) at (Center of ABottomUnitSp <gen>) facing 180.00 degrees
-
ABarracks 2
- Events
- Conditions
-
Actions
- Unit - Create 3 AllianceUnit[1] for Player 2 (Blue) at (Center of AMiddleUnitSp <gen>) facing 225.00 degrees
- Unit - Create 3 AllianceUnit[2] for Player 2 (Blue) at (Center of AMiddleUnitSp <gen>) facing 225.00 degrees
-
ABarracks 3
- Events
- Conditions
-
Actions
- Unit - Create 3 AllianceUnit[1] for Player 2 (Blue) at (Center of ATopUnitSp <gen>) facing 270.00 degrees
- Unit - Create 3 AllianceUnit[2] for Player 2 (Blue) at (Center of ATopUnitSp <gen>) facing 270.00 degrees