Varible to randomly attack players

Status
Not open for further replies.
Level 3
Joined
May 12, 2008
Messages
42
I have no idea how to make it so a computers units that are spawned randomly attack a random player. Someone posted how but i have no idea how:sad: can someone please explain :cute:
 
OK. . .

Order last created unit to attack to random unit from unit group (units in region(playable map area)).

Altenitavley you could attack to a random player start location like such

Order last created unit to attack to random unit from unit group (PlayerStartLocations)

In order to fo this you have to add the start locations to a unit group at map inizilization.

This is really quite simple so if you don't get it I'm sorry but your a lost cause. . .
 
Status
Not open for further replies.
Back
Top