• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Help with order comparison strings

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