Arma 3 Scripting

waypointAttachVehicle

  • Arma 3 v0.50
  • First in Operation Flashpoint: Elite v1.00

Command · Markdown · JSON · original wiki page

Description

Attaches the Waypoint to the provided vehicle Object.

Important

Use this command to associate a transport with "GETIN" waypoint, other types of waypoints might or might not work. See also setWaypointType to set the waypoint type to "GETIN".

Syntax

waypoint waypointAttachVehicle vehicleName

Parameters:

Returns: Nothing

Examples

Example 1

[_grp, 2] waypointAttachVehicle vehicle player;

Example 2

((waypoints player) select 0) waypointAttachVehicle _soldier1;

See also

waypoints · deleteWaypoint · copyWaypoints · setCurrentWaypoint · setWaypointBehaviour · setWaypointCombatMode · setWaypointCompletionRadius · setWaypointDescription · setWaypointFormation · setWaypointHousePosition · setWaypointPosition · setWaypointScript · setWaypointSpeed · setWaypointStatements · setWaypointTimeout · setWaypointType · setWaypointVisible · waypointAttachedVehicle · setWaypointLoiterRadius · waypointLoiterRadius · addWaypoint · setWaypointLoiterType · currentWaypoint · attachObject · attachTo · attachedObjects · attachedTo · lightAttachObject · triggerAttachVehicle · attachedObject