waypointAttachVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|")
Line 9: Line 9:
| Attaches a vehicle [[Object]] to the given [[Waypoint]].
| Attaches a vehicle [[Object]] to the given [[Waypoint]].
<br><br>
<br><br>
{{Important | Use this command to associate a transport with <tt>"GETIN"</tt> waypoint, other types of waypoints might work or might not. If you have different type of waypoint to start with, make it a <tt>"GETIN"</tt> type with [[setWaypointType]]}}
{{Feature | important | Use this command to associate a transport with <tt>"GETIN"</tt> waypoint, other types of waypoints might work or might not. If you have different type of waypoint to start with, make it a <tt>"GETIN"</tt> type with [[setWaypointType]]}}


| waypoint [[waypointAttachVehicle]] vehicleName
| waypoint [[waypointAttachVehicle]] vehicleName

Revision as of 02:11, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Waypoints

Syntax

Syntax:
Syntax needed
Parameters:
waypoint: Waypoint
vehicleName: Object
Return Value:
Return value needed

Examples

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

Additional Information

See also:
See also needed

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


Posted on April 4, 2019 - 22:36 (UTC)
Erentar
Attaches a Waypoint to the given vehicle or unit. Attached waypoint automatically follows the vehicle/unit it is attached to.