Arma 3 Scripting

Command in Unit Control

assignAsCargoIndex

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

Description

Assigns the character to a specific cargo / passenger index of the given vehicle.

Note

See AI Group Vehicle Management for more information.

Syntax

character assignAsCargoIndex [vehicle, index]

Parameters:

Returns: Boolean

Examples

Example 1

player assignAsCargoIndex [myHelicopter, 1];

See also

assignAsCargo · assignAsDriver · assignAsCommander · assignAsGunner · assignAsTurret · getCargoIndex · assignedVehicleRole · unassignVehicle · fullCrew