GetOrderPointX

comment

Returns X map coordinate for the current point order (anywhere on map terrain).

Returns 0 for other event types. If you want to get the position of the target for a target order, get that target object first.

note

See: GetOrderPointLoc if you need the height (Z coordinate).

event
EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER
event
EVENT_UNIT_ISSUED_POINT_ORDER
patch

1.00

Source
common.j (raise an issue to discuss on Github or submit a PR)
return type
real
Source code
constant native GetOrderPointX takes nothing returns real