waypointAttachedVehicle: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "")  | 
				Lou Montana (talk | contribs)  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  | {{Command  | ||
| arma2   | | arma2  | ||
|1.00  | |1.00  | ||
|gr1= Waypoints   | |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]]   | *using [[waypointAttachVehicle]]  | ||
| '''waypointAttachedVehicle''' waypoint   | | '''waypointAttachedVehicle''' waypoint  | ||
|p1= waypoint: [[Array]] - format [[Waypoint]]   | |p1= waypoint: [[Array]] - format [[Waypoint]]  | ||
|p2  | |p2=  | ||
|p3  | |p3=  | ||
| [[Object]]   | | [[Object]]  | ||
|x1= <code>[[waypointAttachedVehicle]] [groupOne,1]</code>  | |x1= <code>[[waypointAttachedVehicle]] [groupOne,1]</code>  | ||
|x2= <code>[[waypointAttachedVehicle]] [<nowiki/>[[group]] [[player]], [[currentWaypoint]] [[group]] [[player]]<nowiki>]</nowiki></code>  | |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]]   | |[[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]]  | ||
|   | |  | ||
}}  | }}  | ||
Revision as of 11:42, 18 January 2021
Description
- Description:
 - Gets the vehicle attached to the waypoint.
A vehicle can be attached to a waypoint by- creating the waypoint on top of the vehicle (in the editor)
 - using waypointAttachVehicle
 
 - 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