Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Move To Random Reigion
Move To Random Reigion
01-29-2005, 11:05 PM
#1
DEADMAN 13
I want my 4 player controled units to move to random reigons, all different. I cant Figure It Out, I can only Get One Reigon :/ Plz Help Me
01-29-2005, 11:21 PM
#2
oNdizZ
do like this
make a region variable-array
and set all your regions into it:
Set RectVar[1] = region 001 <gen>
Set RectVar[2] = region 002 <gen>
and then:
action: Unit - order that unit to move to center off RectVar[random number between 1 and 4]
01-29-2005, 11:23 PM
#3
DEADMAN 13
oh is that how ya do it >.< ty