Arma 3 Scripting

assignAsCommander

  • Global argument
  • Global effect
  • Arma 3 v0.50
  • First in Operation Flashpoint v1.00

Command · Markdown · JSON · original wiki page

Description

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

Note

See AI Group Vehicle Management for more information.

Syntax

unitName assignAsCommander vehicleName

Parameters:

Returns: Nothing

Examples

Example 1

_soldier1 assignAsCommander _tank;
[_soldier1] orderGetIn true;

See also

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