Inspect.Map.Waypoint.Get

Gets a unit's current waypoint.

Usage:

x, z = Inspect.Map.Waypoint.Get(unit)
ParameterTypeDatatypeDescription
unitparameterunitA unit, in either unit ID or unit specifier format.
xresultnumberThe x coordinate of the waypoint.
zresultnumberThe z coordinate of the waypoint.