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.
Erm, I've heard people mention ability ID somewhere. For example, I want to use a trigger : Unit - Issue Order Targeting a Unit to cast the "Item Illusion" skill, but theres no such option in the trigger. So I have to use Custom script: call IssueTargetOrderById instead, but i need the ability ID to do so.
call IssueTargetOrderById( caster, '852274', target )
in GUI you actually do it whatever is under "Text - Order String - Use/Turn On", which is a changeable field
Order Detection

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


Custom script: call BJDebugMsg( "Order Name: "+OrderId2String( GetIssuedOrderId() ) )


Custom script: call BJDebugMsg( "Order Id: "+I2S( GetIssuedOrderId() ) )


Custom script: call BJDebugMsg("-----------------")
This is wrong, since orderIds can be integers OR raw codes, but not both in the same time.the order id for illusion is '852274'
JASS:call IssueTargetOrderById( caster, '852274', target )
call IssueTargetOrderById( caster, 852274, target )
call IssueTargetOrderById( caster, 'A000', target )
call IssueTargetOrderById( caster, '852274', target ) //Wrong!
call IssueTargetOrderById( caster, 852274, target ) //Right!
Test Trigger
Events:
Conditions:
Actions:
[I]Unit - Order <Unit> to (Far Seer - Chain Lightning)[/I] [I]<Unit>[/I]


