addVehicle

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Armed Assault version 1.05Arguments of this scripting command have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.05

Description

Description:
Adds a specified vehicle for use by a specified AI led group. The vehicle will be considered as an available vehicle for use by his group.

Syntax

Syntax:
Group addVehicle Vehicle
Parameters:
group: Group
Vehicle: Object
Return Value:
none

Examples

Example 1:
_group addVehicle _vehicle

Additional Information

Multiplayer:
Behaviour unknown.
See also:
leaveVehicle

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Ceeeb

  • This command works best when used on empty vehicles. If used on a vehicle already driven by a member of another group, the driver will continue under his own group's orders, which may not benefit the addVehicle group.
  • More than one vehicle can be added to a group, and more than one group can be added to a vehicle.
  • When deciding whether to board a vehicle, AI leaders seem to only consider the transport benefit of a vehicle, ignoring any combat benefits the vehicle may provide.

Bottom Section

Personal tools
Buy ArmA now!