Arma 3 Scripting

Command in Waypoints

waypoints

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns an array of waypoints for the specified unit/group.

Syntax

waypoints groupName

Parameters:

Returns: Array of Waypoints

Examples

Example 1

waypoints player;

Example 2

_wPosArray = waypoints group10; // returns e.g [[EAST 1-1-A,0],[EAST 1-1-A,1],[EAST 1-1-A,2]]

See also

deleteWaypoint · copyWaypoints · setCurrentWaypoint · setWaypointBehaviour · setWaypointCombatMode · setWaypointCompletionRadius · setWaypointDescription · setWaypointFormation · setWaypointHousePosition · setWaypointPosition · setWaypointScript · setWaypointSpeed · setWaypointStatements · setWaypointTimeout · setWaypointType · setWaypointVisible · waypointAttachVehicle · waypointAttachedVehicle · setWaypointLoiterRadius · waypointLoiterRadius · addWaypoint · setWaypointLoiterType · waypointSpeed · setWPPos · waypointName