GetOrderTargetItem

comment

Returns the targetted item, if the order target is an item.

note

See: GetOrderTarget, GetOrderTargetDestructable, 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
item
Source code
constant native GetOrderTargetItem          takes nothing returns item