• 🏆 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!

[Solved] Is This Possible

Status
Not open for further replies.
Level 37
Joined
Mar 6, 2006
Messages
9,240
  • Untitled Trigger 001
    • Events
      • Unit - A unit Is issued an order with no target // You can try without this event
      • Unit - A unit Is issued an order targeting a point
      • Unit - A unit Is issued an order targeting an object
    • Conditions
      • (Issued order) Equal to (Order(smart))
    • Actions
      • Trigger - Turn on Untitled Trigger 087 <gen>
      • Unit Group - Add (Triggering unit) to group
  • Untitled Trigger 087
    • Events
      • Time - Every 0.00 seconds of game time
    • Conditions
    • Actions
      • Trigger - Turn off (This trigger)
      • Unit Group - Pick every unit in group and do (Actions)
        • Loop - Actions
          • Unit - Order (Picked unit) to Stop
          • Unit Group - Remove (Picked unit) from group
 
  • Untitled Trigger 001
    • Events
      • Unit - A unit Is issued an order with no target // You can try without this event
      • Unit - A unit Is issued an order targeting a point
      • Unit - A unit Is issued an order targeting an object
    • Conditions
      • (Issued order) Equal to (Order(smart))
    • Actions
      • Trigger - Turn on Untitled Trigger 087 <gen>
      • Unit Group - Add (Triggering unit) to group
  • Untitled Trigger 087
    • Events
      • Time - Every 0.00 seconds of game time
    • Conditions
    • Actions
      • Trigger - Turn off (This trigger)
      • Unit Group - Pick every unit in group and do (Actions)
        • Loop - Actions
          • Unit - Order (Picked unit) to Stop
          • Unit Group - Remove (Picked unit) from group
This. But simply order the unit to stop in the first trigger. No need for the timed delay.
 
Did you try it? Because in my version of Warcraft 3, you do need the delay. Otherwise the stop order is issued before the smart order.
Always worked fine for me. I never used a timer for that, so yes, I'm pretty sure it works.

EDIT: Now that I remember, I never really issued a stop order, but instead issued a move order to the current units position. Maybe that's why it worked for me.
 
  • Untitled Trigger 001
    • Events
      • Unit - A unit Is issued an order with no target // You can try without this event
      • Unit - A unit Is issued an order targeting a point
      • Unit - A unit Is issued an order targeting an object
    • Conditions
      • (Issued order) Equal to (Order(smart))
    • Actions
      • Trigger - Turn on Untitled Trigger 087 <gen>
      • Unit Group - Add (Triggering unit) to group
  • Untitled Trigger 087
    • Events
      • Time - Every 0.00 seconds of game time
    • Conditions
    • Actions
      • Trigger - Turn off (This trigger)
      • Unit Group - Pick every unit in group and do (Actions)
        • Loop - Actions
          • Unit - Order (Picked unit) to Stop
          • Unit Group - Remove (Picked unit) from group
An amazing way to solve it, +rep.
 
Status
Not open for further replies.
Top