unitName assignAsCargoIndex [vehicle, index]
Operand types
unitName:
Object[vehicle, index]:
Array
Type of returned value
Description
Assigns the unit to a specific cargo index of the given vehicle.
unit:
Object
vehicle:
Object
index:
Number
Used In
Arma3
Example
loon1 assignAsCargoIndex [_heli, 2];