GetOrderTargetDestructable

comment

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

Returns null on failure.

note

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