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

[General] A simple question regarding Ordering of AI units

Status
Not open for further replies.
Level 4
Joined
Aug 7, 2010
Messages
77
Hi all. This might be a simple question but i am totally confused myself to this.
What i want is to pick one random unit-type of footman from a region and move to another region.

I am confused on which option to pick. Current i am using this and its not working. Can any1 correct me to this issue? Many thanks!
  • PickingUnitType
    • Events
      • Player - Player 1 (Red) types a chat message containing pickfootman as An exact match
    • Conditions
    • Actions
      • Unit - Order (Random unit from (Units in Region 003 <gen> matching ((Unit-type of (Random unit from (Units in Region 003 <gen>))) Equal to Footman))) to Move To (Center of Region 004 <gen>)
 
Status
Not open for further replies.
Top