Arma 3 Scripting

Command in Unit Control

assignAsDriver

Also available as Markdown and JSON, or read the original wiki page.

Description

Assign a unit as driver of a vehicle. Used together with orderGetIn to order subordinate units to get in as driver of a specific vehicle. Before usage of this command a subordinate unit has not got the option to get into the driver place of the vehicle.

Note

See AI Group Vehicle Management for more information.

Syntax

unitName assignAsDriver vehicleName

Parameters:

Returns: Nothing

Examples

Example 1

_soldier1 assignAsDriver _tank;
[_soldier1] orderGetIn true;

See also

assignAsCommander · assignAsGunner · assignAsCargo · assignAsTurret · assignAsCargoIndex · moveInCargo · moveInCommander · moveInDriver · moveInGunner · moveInTurret · assignedVehicleRole · assignedVehicle · unassignVehicle · leaveVehicle · fullCrew