waypointAttachedVehicle: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")  | 
				Lou Montana (talk | contribs)  m (Text replacement - " <nowiki>[</nowiki>" to " [<nowiki/>")  | 
				||
| Line 26: | Line 26: | ||
|x1= <code>[[waypointAttachedVehicle]] [groupOne,1]</code>|EXAMPLE1=    | |x1= <code>[[waypointAttachedVehicle]] [groupOne,1]</code>|EXAMPLE1=    | ||
|x2= <code>[[waypointAttachedVehicle]] <nowiki  | |x2= <code>[[waypointAttachedVehicle]] [<nowiki/>[[group]] [[player]], [[currentWaypoint]] [[group]] [[player]]<nowiki>]</nowiki></code>|EXAMPLE2=    | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
Revision as of 12:27, 19 March 2020
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:
 - Uncategorised
 
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