• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

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