• 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] How to check if worker is ordered to build on a mine?

Status
Not open for further replies.

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,866
Create a trigger that displays all issued orders in a text message. Then test to see which order is used when targeting a gold mine. Once you know the order string, create a trigger that detects said order string, cancel the order (issue a Stop order), and then do whatever you want from there.

The target unit of issued order will be the (targeted gold mine).
 
Status
Not open for further replies.
Top