Warcraft III resources & community, 2003–2006 · archived

Help with order comparison strings

1 posts
#1

Help with order comparison strings

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>)