Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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
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)))
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)))
Game - Force (Owner of (Triggering unit)) to press Escape/Cancel
Try this action, after selecting the building being constructed.
Game - Force (Owner of (Triggering unit)) to press Escape/Cancel
call IssueImmediateOrderById(GetTriggerUnit(), 851976)
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) for 30.00 seconds the text: (Order string: + (String((Issued order))))


Custom script: call DisplayTimedTextToForce( GetPlayersAll(), 30, ( "Order Id: " + I2S(GetIssuedOrderId()) ) )
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)