• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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