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

Help with order comparison strings

Status
Not open for further replies.
Level 37
Joined
Mar 6, 2006
Messages
9,240
I'm trying to make a trigger that detects if a peon is on his way to build a barrack. If he is not he should do something else. Or as a more general trigger, I want to know how to detect if a worker is doing something.

If I order a worker to move across the map, the following trigger still interrupts his journey. How can I make this trigger to work?

build
Events
Time - Every 5.00 seconds of game time
Conditions
(Current order of Peon 0068 <gen>) Not equal to (Order(move))
Actions
Unit - Order Peon 0068 <gen> to Move To (Center of Region 005 <gen>)
 
Status
Not open for further replies.
Top