Warning: file_put_contents(/ff_69cf15cd74cfb81dfb38dcd367b3af0496dc91bb5fe32d42.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
assignAsCargoIndex - OFPEC Scripting Command Reference | OFPEC The Editing Center

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];

Advertisement