This works for undead-style constructing ^^ (with human buildings, you could change the repair-spell to have a long range and instead of ordering the unit to "stop", order it to repair the constructing building).
I remember World Editor Unlimited allowed you to view the build abilities. You could use JASSNewGenPack (JNGP) with integrated WEU and edit them, or simply WEU alone. Or, JNGP has this «object editor hack», I've never used it so I don't know what it does, but you could try to see if it gets the Object Editor to display the building abilities.
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.
Unit - Unit is issued order targetting a point
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.
🔨 Hive's 3D Viewer has been updated! 🔨 It now supports MDX1100 which should fix a lot of issues when viewing HD models in our 3D Viewer. We encourage you to check it out for yourself and report any issues you find in the Site Discussion board.