GetOrderedUnit

comment

Returns the unit that received the order.

Same as GetTriggerUnit in this context.

note

When you order a group of units, each of them receives the order at the same time. The event will run once per registered unit in the group.

note

See: GetIssuedOrderId, GetOrderPointX, GetOrderTargetUnit

event
EVENT_PLAYER_UNIT_ISSUED_ORDER
event
EVENT_PLAYER_UNIT_ISSUED_UNIT_ORDER
event
EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER
event
EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER
event
EVENT_UNIT_ISSUED_ORDER
event
EVENT_UNIT_ISSUED_POINT_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 GetOrderedUnit takes nothing returns unit