WaygateGetDestinationX

Parameters
waygate unit
comment

Returns the X map coordinate of the teleporter's target.

If the unit does not have the 'Awrp' ability, returns 0.

note

See: WaygateGetDestinationY, WaygateSetDestination.

patch

1.00

Source
common.j
return type
real
Source code
native WaygateGetDestinationX       takes unit waygate returns real