Arma 3 Scripting

Command in Unit Control

assignAsGunner

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

Description

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

Note

See AI Group Vehicle Management for more information.

Syntax

unitName assignAsGunner vehicleName

Parameters:

Returns: Nothing

Examples

Example 1

_soldier1 assignAsGunner _tank;
[_soldier1] orderGetIn true;

See also

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