GetOrderTarget
- comment
Returns the target widget (unit/item/destructable) for the current order.
- note
See:
GetOrderTargetDestructable,GetOrderTargetItem,GetOrderTargetUnit.- event
EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER- event
EVENT_UNIT_ISSUED_TARGET_ORDER- patch
1.00
- Source
- common.j (raise an issue to discuss on Github or submit a PR)
- return type
widget- Source code
constant native GetOrderTarget takes nothing returns widget