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

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