Arma 3 Scripting

customWaypointPosition

  • Arma 3 v1.92

Command · Markdown · JSON · original wiki page

Description

Returns player's custom waypoint (LShift+LMB) position.

Syntax

customWaypointPosition

Returns: Position as [x,y,0], or empty array [] if the waypoint does not exist

Examples

Example 1

if (customWaypointPosition isNotEqualTo []) then
{
    hint format ["You are %1m away from your custom waypoint.", round (player distance customWaypointPosition)];
};

See also

allMapMarkers