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

[Solved] Is This Possible

Status
Not open for further replies.
Level 37
Joined
Mar 6, 2006
Messages
9,243
  • 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