Thursday, April 19, 2012

Arena Teleport

I'm making an arena game, but idk how to make a trigger that will move all players to a region once time expires. i can't find the correct action to use, i have all the timers and timer windows and such set up, but i just can't find the correct action to move ALL USER HEROES to random points in a region|||You mean something like this?


Code:
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A Hero) Equal to True
Then - Actions
Unit - Move (Picked unit) instantly to (Random point in ArenaRegion <gen>)
Else - Actions
Do nothing

No comments:

Post a Comment