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

Codes to make unit stop when you order it to move.

Status
Not open for further replies.
Level 3
Joined
Jul 3, 2009
Messages
31
ok. anyone know how to make a unit stop when you order it to move INCLUDING right clicking. Unit-Unit is issued an order targeting point and targeting object doesnt include right click. =/ anyone? oh, also the script for attack. Move - "move" and Patrol - "patrol" works but Attack - "attack" doesnt seem to. Thanks :p
 
Level 5
Joined
Nov 2, 2008
Messages
46
  • Melee Initialization
    • Events
      • Unit - A unit Is issued an order targeting a point
    • Conditions
      • (Issued order) Equal to (Order(smart))
    • Actions
      • Wait 0.00 seconds
      • Unit - Order (Triggering unit) to Stop
When it moves it takes a little time to stop (like 0.10 seconds) but the unit moves some time... idk how to make it on another way and it doesnt work without the wait.
 
Status
Not open for further replies.
Top