Arctic
New Member
- Reaction score
- 1
I'm making a TD and all i need to know is how to make it so once all the enemies are dead to make the next round start.:banghead:
Basic Spawn
Events
Conditions
Actions
Unit - Create 15 Levels[Level] for Player 12 (Brown) at (Center of (Playable map area)) facing Default building facing degrees
Unit Group - Add all units of (Last created unit group) to Spawns
Starting new spawn
Events
Unit - A unit Dies
Conditions
((Triggering unit) is in Spawns) Equal to True
Actions
Unit - Remove (Triggering unit) from the game
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in Spawns) Equal to 0
Then - Actions
Set Level = (Level + 1)
Unit - Create 15 Levels[Level] for Player 12 (Brown) at (Center of (Playable map area)) facing Default building facing degrees
Unit Group - Add all units of (Last created unit group) to Spawns
Else - Actions
Untitled Trigger 001
Events
Map initialization
Conditions
Actions
Wait 25.00 seconds
Unit - Create 10 Child for Player 2 (Blue) at (Center of Point A <gen>) facing Default building facing (270.0) degrees
Starting new spawn
Events
Unit - A unit Dies
Conditions
((Triggering unit) is in Spawns) Equal to True [COLOR="red"]boolean[/COLOR]
Actions
Unit Group - Remove (Triggering unit) from Spawns
Unit - Remove (Triggering unit) from the game
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in Spawns) Equal to 0 [COLOR="Red"]integer comparison[/COLOR]
Then - Actions
Unit - Create 10 Child for Player 2 (Blue) at (Center of Point A <gen>) facing Default building facing degrees
Unit Group - Add all units of (Last created unit group) to Spawns [COLOR="Red"]Unit Group - Add unit group[/COLOR]
Else - Actions