@ap0calypse
Ah I was just making test map but I see you have wrote the same trigger I have made..
About humans and other non undead races: yeah order triggering unit to stop, create a dummy like worker which will do the job and just create another trigger which kills/removes dummy with event: interrupts constructing, or finishes contructing (with condition unit type equal to given dummy unit). Done.
@XScorchX If you will need test map although, pm me.
EDIT: Although ap0calypse already thrown most important stuff I'll add how to check whats the string of issued order if we are talking about buidlings.
-
init
-
Events
-
Unit - Unit is issued order targetting a point
-
Conditions
-
Actions
-
Game - Displays to (All players) message (String(Issued of issued order)
So just select your peons and click to build any building. Message with order will be displayed.
For humans all strings:
altarofkings, farm, townhall, blacksmith, humanbarracks, humanlumbermill, workshop, arcanevault, arcanesanctum, gryphonaviary, scouttower.