Arma 3 Scripting

Command in Unit Control

orderGetIn

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

Description

Force all units in the array to get in or out of their assigned vehicles. Units must be assigned to a vehicle before this command will do anything.

Note

See AI Group Vehicle Management for more information.

Syntax

unitArray orderGetIn order

Parameters:

Returns: Nothing

Examples

Example 1

[_unitOne, _unitTwo] orderGetIn true;

Example 2

[_unitOne, _unitTwo] orderGetIn false;

See also

allowGetIn · addVehicle · assignAsCargo · assignAsCommander · assignAsDriver · assignAsGunner