Check if your action works before you post it here
first of all...i thing its not so simple
ordering unit to stop does not work
and i think "builder" does not exist at all
killing a structure is not canceling
i mean-if you order the the structure that is in construction to stop it will not do anythingjust use Unit - Order (your unit) to stop
yes it should but its not showing anything when i cancel constructionTry to see what order happens when you press it by yourself...
I think this should do the job:
It should display the order that is given...
Define Order
Events
Unit - A unit Is issued an order targeting an object
Unit - A unit Is issued an order targeting a point
Unit - A unit Is issued an order with no target
Conditions
Actions
Game - Display to (All players) the text: (String((Issued order)))
Try this action, after selecting the building being constructed.
Game - Force (Owner of (Triggering unit)) to press Escape/Cancel
call IssueImmediateOrderById(GetTriggerUnit(), 851976)
JASS:call IssueImmediateOrderById(GetTriggerUnit(), 851976)
that is the correct order to order a unit to cancel
there is one problem
i need to use waits/timers if i want this trigger to work
Untitled Trigger 001
Events
Unit - A unit Begins construction
Conditions
Actions
(wait or start timer and than do this action in trigger that has event of the expiring timer)
Custom script: call IssueImmediateOrderById(GetTriggerUnit(), 851976)