• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[General] Restrict smart move?

Status
Not open for further replies.
I have this trigger, but it's not working! Where is my mistake?
  • Stop smart move
    • Events
      • Unit - A unit Is issued an order targeting a point
      • Unit - A unit Is issued an order targeting an object
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Issued order) Equal to (Order(smart))
    • Actions
      • Unit - Order (Ordered unit) to Stop
 

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,188
Where is my mistake?
Ordering the unit to stop before it is given the actual order you want to stop. The events cause the trigger to fire when a unit is about to be issued an order, not after it has been issued an order. Use a 0 second timer or other source of delay and issue stop since that will then be after the order has been issued.
 
Status
Not open for further replies.
Top