addVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |r1=[[" to " |r1= [[")
Line 29: Line 29:
|p2= vehicleName: [[Object]]
|p2= vehicleName: [[Object]]


|r1=[[Nothing]]
|r1= [[Nothing]]


|x1= <code>_grp [[addVehicle]] _vehicle</code>
|x1= <code>_grp [[addVehicle]] _vehicle</code>

Revision as of 22:35, 7 August 2021

Hover & click on the images for description

Description

Description:
Adds a specified vehicle for use by a specified AI led group.
See AI Group Vehicle Management for more information.
Groups:
Object Manipulation

Syntax

Syntax:
groupName addVehicle vehicleName
Parameters:
groupName: Group
vehicleName: Object
Return Value:
Nothing

Examples

Example 1:
_grp addVehicle _vehicle
Example 2:
Using on crewed vehicle:group tank addVehicle tank;

Additional Information

See also:
leaveVehicleunassignVehiclecreateVehicleCrew

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