The problem is when the round is over, it takes like a minute or 2 to realize that the round is over and teleport the units to shop and start next rounds timer...rep+ if can fix
The timer-
The timer-
-
Timer
-
Events
-
Conditions
-
Actions
-
Game - Display to (All players) the text: Wave Incoming!
-
Countdown Timer - Start RoundWindow as a One-shot timer that will expire in 80.00 seconds
-
Set RoundWindow = (Last started timer)
-
Countdown Timer - Create a timer window for (Last started timer) with title |c00990000Enemy Wav...
-
Game - Display to (All players) the text: TIMER
-
Wait 83.00 seconds
-
Trigger - Turn on checker <gen>
-
-
-
checker
-
Events
-
Time - Every 0.01 seconds of game time
-
-
Conditions
-
RoundStatus Equal to False
-
-
Actions
-
Unit Group - Pick every unit in (Units in ARENA1 <gen>) and do (Unit - Move (Picked unit) instantly to (Center of HeroRespawn <gen>))
-
Trigger - Run Timer <gen> (ignoring conditions)
-
Game - Display to (All players) the text: CHECKER
-
Trigger - Turn off checker <gen>
-
-
-
CHECKSTATUS
-
Events
-
Time - Every 0.01 seconds of game time
-
-
Conditions
-
(Number of units in (Units in ARENA1 <gen> owned by Player 12 (Brown))) Less than or equal to 1
-
-
Actions
-
Set RoundStatus = False
-
Game - Display to (All players) the text: checkstatus
-
Trigger - Turn on checker <gen>
-
Trigger - Turn off (This trigger)
-
-
-
Spawn
-
Events
-
Time - RoundWindow expires
-
-
Conditions
-
Actions
-
Trigger - Turn on checker <gen>
-
Trigger - Turn on CHECKSTATUS <gen>
-
Game - Display to (All players) the text: SPAWN
-
Countdown Timer - Destroy (Last created timer window)
-
Set RoundStatus = True
-
Set lvlnum = (lvlnum + 1)
-
Game - Display to (All players) the text: (|c00999900Round + (|c00990000 + ((String(lvlnum)) + (|r + |c00999900has started!|r))))
-
Set loc[1] = (Center of Arena1Spawn1 <gen>)
-
Set loc[2] = (Center of Arena1Spawn2 <gen>)
-
Set loc[3] = (Center of Arena1Spawn3 <gen>)
-
For each (Integer A) from 1 to unit_amount[lvlnum], do (Actions)
-
Loop - Actions
-
Set incrementx = 1
-
Set incrementy = 1
-
For each (Integer B) from 1 to 4, do (Actions)
-
Loop - Actions
-
Set RoundCount = 1
-
Unit - Create 1 unit_type[lvlnum] for Player 12 (Brown) at loc[incrementy] facing Default building facing degrees
-
Unit - Order (Random unit from (Units owned by Player 12 (Brown))) to Attack-Move To (Position of (Random unit from (Units within 9000.00 of (Center of ARENA1 <gen>))))
-
Unit - Create 1 unit_type[lvlnum] for Player 12 (Brown) at loc[(incrementy + 1)] facing Default building facing degrees
-
Unit - Order (Random unit from (Random 100 units from (Units in (Playable map area) owned by Player 12 (Brown)))) to Attack-Move To (Position of (Random unit from (Units within 9000.00 of (Center of ARENA1 <gen>))))
-
Set incrementx = (incrementx + 1)
-
Set incrementy = (incrementy + 2)
-
-
-
Wait until (((Last created unit) is dead) Equal to True), checking every 1.00 seconds
-
-
-
For each (Integer A) from 1 to unit_amount_var_three[lvlnum], do (Actions)
-
Loop - Actions
-
Set incrementx = 1
-
Set incrementy = 1
-
For each (Integer B) from 1 to 4, do (Actions)
-
Loop - Actions
-
Set RoundCount = 2
-
Unit - Create 1 unit_type_var_three[lvlnum] for Player 12 (Brown) at loc[incrementy] facing Default building facing degrees
-
Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))
-
Unit - Create 1 unit_type_var_three[lvlnum] for Player 12 (Brown) at loc[(incrementy + 1)] facing Default building facing degrees
-
Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))
-
Set incrementx = (incrementx + 1)
-
Set incrementy = (incrementy + 2)
-
-
-
Wait 0.75 seconds
-
-
-
For each (Integer A) from 1 to unit_amount_var_two[lvlnum], do (Actions)
-
Loop - Actions
-
Set incrementx = 1
-
Set incrementy = 1
-
For each (Integer B) from 1 to 4, do (Actions)
-
Loop - Actions
-
Set RoundCount = 3
-
Unit - Create 1 unit_type_var_two[lvlnum] for Player 12 (Brown) at loc[incrementy] facing Default building facing degrees
-
Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))
-
Unit - Create 1 unit_type_var_two[lvlnum] for Player 12 (Brown) at loc[(incrementy + 1)] facing Default building facing degrees
-
Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))
-
Set incrementx = (incrementx + 1)
-
Set incrementy = (incrementy + 2)
-
-
-
Wait 0.75 seconds
-
-
-
Custom script: call RemoveLocation( udg_loc[1] )
-
Custom script: call RemoveLocation( udg_loc[2] )
-
Custom script: call RemoveLocation( udg_loc[3] )
-
Custom script: call RemoveLocation( udg_loc[4] )
-
Custom script: call RemoveLocation( udg_loc[5] )
-
Custom script: call RemoveLocation( udg_loc[6] )
-
Custom script: call RemoveLocation( udg_loc[7] )
-
Custom script: call RemoveLocation( udg_loc[8] )
-
-
-
Start
-
Events
-
Time - Elapsed game time is 5.00 seconds
-
-
Conditions
-
(Number of units in (Units in ARENA1 <gen> owned by Player 12 (Brown))) Equal to 0
-
RoundStatus Equal to False
-
-
Actions
-
Game - Display to (All players) the text: Start
-
Trigger - Run Timer <gen> (ignoring conditions)
-
-