Im making a hero arena and the event will eventually be every x seconds, but to test it I did it like this. The trigger does not work however for whatever reason. Thanks.
Code:
Test
Events
Player - Player 2 (Blue) types a chat message containing -test as An exact match
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area) matching (((Picked unit) is A Hero) Equal to True)) and do (Actions)
Loop - 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)
(Owner of (Picked unit)) Equal to Player 3 (Teal)
(Owner of (Picked unit)) Equal to Player 4 (Purple)
(Owner of (Picked unit)) Equal to Player 5 (Yellow)
(Owner of (Picked unit)) Equal to Player 6 (Orange)
Then - Actions
Unit - Move (Picked unit) instantly to (Random point in Good Arena <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 8 (Pink)
(Owner of (Picked unit)) Equal to Player 9 (Gray)
(Owner of (Picked unit)) Equal to Player 10 (Light Blue)
(Owner of (Picked unit)) Equal to Player 11 (Dark Green)
(Owner of (Picked unit)) Equal to Player 12 (Brown)
Then - Actions
Unit - Move (Picked unit) instantly to (Random point in Evil Arena <gen>)
Else - Actions