waypointAttachVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Reverted edits by Erentar (talk) to last revision by killzone_kid)
No edit summary
Line 44: Line 44:
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Waypoints|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Waypoints|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on April 4, 2019 - 22:36 (UTC)</dd>
<dt class="note">[[User:Erentar|Erentar]]</dt>
<dd class="note">
Attaches a [[Waypoint]] to the given [[Vehicle]] or [[Unit]]. Attached waypoint automatically follows the vehicle/unit it is attached to.
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 23:36, 4 April 2019

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Attaches a vehicle Object to the given Waypoint.

Use this command to associate a transport with "GETIN" waypoint, other types of waypoints might work or might not. If you have different type of waypoint to start with, make it a "GETIN" type with setWaypointType
Groups:
Uncategorised

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:
waypointsdeleteWaypointcopyWaypointssetCurrentWaypointsetWaypointBehavioursetWaypointCombatModesetWaypointCompletionRadiussetWaypointDescriptionsetWaypointFormationsetWaypointHousePositionsetWaypointPositionsetWaypointScriptsetWaypointSpeedsetWaypointStatementssetWaypointTimeoutsetWaypointTypesetWaypointVisiblewaypointAttachedVehiclesetWaypointLoiterRadiuswaypointLoiterRadiusaddWaypointsetWaypointLoiterTypecurrentWaypointattachObjectattachToattachedObjectsattachedTolightAttachObjecttriggerAttachVehicleattachedObject

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

Notes

Bottom Section

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.