• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

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:
 
Level 24
Joined
May 9, 2007
Messages
3,563
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.
Top