i want to try and make it so when XX time goes by all of a player colors units (exclude buildings obviously.) are moved to a location, sorta like in hero survival (hoihoi custom hero survival is a really good example).
this is what i have, and it doesnt seem to work, suggestions?
then~ how do i port all units out after all enemy units in area are dead.
im assuming a ( units in unit group = 0 in xx region?)
tho i was hoping to avoid a variable
this is what i have atm. (not working. and i want ALL player owned units to follow, so summons and such)
wave 1
Events
Time - Elapsed game time is 55.00 seconds
Conditions
Actions
Set players = (Units in (Playable map area))
Unit Group - Remove all units of (Units within 5000.00 of (Center of (Playable map area)) matching (((Triggering unit) is A structure) Equal to True)) from players
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Picked unit)) Equal to Player 1 (Red)
Then - Actions
Unit Group - Pick every unit in players and do (Unit - Move (Picked unit) instantly to (Center of red arena hero <gen>))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Picked unit)) Equal to Player 2 (Blue)
Then - Actions
Unit Group - Pick every unit in players and do (Unit - Move (Picked unit) instantly to (Center of blue arena hero <gen>))
Else - Actions
EDIT: im very new (second day using world editor) so dont kill me for bad triggers , and be simple please! or at least try.
this is what i have, and it doesnt seem to work, suggestions?
then~ how do i port all units out after all enemy units in area are dead.
im assuming a ( units in unit group = 0 in xx region?)
tho i was hoping to avoid a variable
this is what i have atm. (not working. and i want ALL player owned units to follow, so summons and such)
wave 1
Events
Time - Elapsed game time is 55.00 seconds
Conditions
Actions
Set players = (Units in (Playable map area))
Unit Group - Remove all units of (Units within 5000.00 of (Center of (Playable map area)) matching (((Triggering unit) is A structure) Equal to True)) from players
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Picked unit)) Equal to Player 1 (Red)
Then - Actions
Unit Group - Pick every unit in players and do (Unit - Move (Picked unit) instantly to (Center of red arena hero <gen>))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Picked unit)) Equal to Player 2 (Blue)
Then - Actions
Unit Group - Pick every unit in players and do (Unit - Move (Picked unit) instantly to (Center of blue arena hero <gen>))
Else - Actions
EDIT: im very new (second day using world editor) so dont kill me for bad triggers , and be simple please! or at least try.