vehicleName getCargoIndex unitName

Operand types

vehicleName: Object
unitName: Object

Type of returned value

Description

Returns index of the unit in cargo. 0,1,2... or -1 if not in cargo.

Used In

Arma3

Example

player moveInCargo heli;
hint str (heli getCargoIndex player);
Search OFPEC COMREF

Advertisement