GetOrderTargetUnit

comment

Returns the targetted unit, if the order target is a unit.

note

See: GetOrderTarget, GetOrderTargetDestructable, GetOrderTargetItem.

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
unit
Source code
constant native GetOrderTargetUnit          takes nothing returns unit