waypointAttachedVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2 |Game name=
| arma2


|1.00|Game version=
|1.00


|gr1= Waypoints |GROUP1=
|gr1= Waypoints


| Gets the vehicle attached to the waypoint.
| Gets the vehicle attached to the waypoint.
<br>A vehicle can be attached to a waypoint by
<br>A vehicle can be attached to a waypoint by
*creating the waypoint on top of the vehicle (in the editor)
*creating the waypoint on top of the vehicle (in the editor)
*using [[waypointAttachVehicle]] |DESCRIPTION=
*using [[waypointAttachVehicle]]


| '''waypointAttachedVehicle''' waypoint |SYNTAX=
| '''waypointAttachedVehicle''' waypoint


|p1= waypoint: [[Array]] - format [[Waypoint]] |PARAMETER1=
|p1= waypoint: [[Array]] - format [[Waypoint]]


|p2= |PARAMETER2=  
|p2=


|p3= |PARAMETER3=  
|p3=


| [[Object]] |RETURNVALUE=
| [[Object]]




|x1= <code>[[waypointAttachedVehicle]] [groupOne,1]</code>|EXAMPLE1=
|x1= <code>[[waypointAttachedVehicle]] [groupOne,1]</code>


|x2= <code>[[waypointAttachedVehicle]] [<nowiki/>[[group]] [[player]], [[currentWaypoint]] [[group]] [[player]]<nowiki>]</nowiki></code>|EXAMPLE2=
|x2= <code>[[waypointAttachedVehicle]] [<nowiki/>[[group]] [[player]], [[currentWaypoint]] [[group]] [[player]]<nowiki>]</nowiki></code>




|[[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[currentWaypoint]], [[attachObject]], [[attachTo]], [[attachedObjects]], [[attachedTo]], [[lightAttachObject]], [[triggerAttachVehicle]], [[attachedObject]] |SEEALSO=
|[[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[currentWaypoint]], [[attachObject]], [[attachTo]], [[attachedObjects]], [[attachedTo]], [[lightAttachObject]], [[triggerAttachVehicle]], [[attachedObject]]


| |MPBEHAVIOUR=
|
}}
}}



Revision as of 11:42, 18 January 2021

Hover & click on the images for description

Description

Description:
Gets the vehicle attached to the waypoint.
A vehicle can be attached to a waypoint by
Groups:
Waypoints

Syntax

Syntax:
waypointAttachedVehicle waypoint
Parameters:
waypoint: Array - format Waypoint
Return Value:
Object

Examples

Example 1:
waypointAttachedVehicle [groupOne,1]
Example 2:
waypointAttachedVehicle [group player, currentWaypoint group player]

Additional Information

See also:
waypointsdeleteWaypointcopyWaypointssetCurrentWaypointsetWaypointBehavioursetWaypointCombatModesetWaypointCompletionRadiussetWaypointDescriptionsetWaypointFormationsetWaypointHousePositionsetWaypointPositionsetWaypointScriptsetWaypointSpeedsetWaypointStatementssetWaypointTimeoutsetWaypointTypesetWaypointVisiblewaypointAttachVehiclesetWaypointLoiterRadiuswaypointLoiterRadiusaddWaypointsetWaypointLoiterTypecurrentWaypointattachObjectattachToattachedObjectsattachedTolightAttachObjecttriggerAttachVehicleattachedObject

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