- Joined
- May 22, 2010
- Messages
- 362
I want to make a dummy unit cast illusion (the item ability of staff of illusions) but I cant find the order in the triggers.
native IssueImmediateOrder takes unit whichUnit, string order returns boolean
native IssueImmediateOrderById takes unit whichUnit, integer order returns boolean
native IssueInstantPointOrder takes unit whichUnit, string order, real x, real y, widget instantTargetWidget returns boolean
native IssueInstantPointOrderById takes unit whichUnit, integer order, real x, real y, widget instantTargetWidget returns boolean
native IssueTargetOrder takes unit whichUnit, string order, widget targetWidget returns boolean
native IssueTargetOrderById takes unit whichUnit, integer order, widget targetWidget returns boolean
call IssueTargetOrderById(GetTriggerUnit(), 'Alil', GetSpellTargetUnit())
call BJDebugMsg(OrderId2String(GetIssuedOrderId())) // This tells you the string
call BJDebugMsg(I2S(GetIssuedOrderId())) // This tells you the number
call IssueTargetOrderById(YourDummy, 852274, YourTarget)