waypointAttachVehicle

From Bohemia Interactive Community
Revision as of 22:35, 20 January 2022 by Lou Montana (talk | contribs) (Some wiki formatting)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Attaches the Waypoint to the provided vehicle Object.
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".
Groups:
Waypoints

Syntax

Syntax:
waypoint waypointAttachVehicle vehicleName
Parameters:
waypoint: Waypoint
vehicleName: Object
Return Value:
Nothing

Examples

Example 1:
[_grp, 2] waypointAttachVehicle vehicle player;
Example 2:
((waypoints player) select 0) waypointAttachVehicle _soldier1;

Additional Information

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

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note