waypointAttachedVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
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>[</nowiki>[[group]] [[player]], [[currentWaypoint]] [[group]] [[player]]<nowiki>]</nowiki></code>|EXAMPLE2=  
|x2= <code>[[waypointAttachedVehicle]] [<nowiki/>[[group]] [[player]], [[currentWaypoint]] [[group]] [[player]]<nowiki>]</nowiki></code>|EXAMPLE2=  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 12:27, 19 March 2020

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

Notes

Bottom Section