• 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!

Help with getting random units to patrol

Status
Not open for further replies.
Level 2
Joined
Jul 17, 2004
Messages
12
Im trying to get a neutral passive unit to patrol the map from one side of the other. What command do i need for this, would i need to make the unit move from one part to the other, then create an action where the unit moves back to its original position and then place it within a repeat/while loop via custom script or is there another way?

i.e "while - unit is alive
do - unit moves to region X instantly;
unit moves to region Y instantly;"
 
Level 2
Joined
Jul 17, 2004
Messages
12
No because its a neutral passive unit, which i dont want anyone to be able to command in game. When the map initialises i want the unit to patrol from one side of the map to the other. The problem is repeating the command throughout the entire game. This is just for effect purposes.
 
Status
Not open for further replies.
Top