Description
Add weapons to the cargo space of vehicles, which can be taken out by infantry units.
Syntax
vehicleName addWeaponCargoGlobal [weaponName, count]
Parameters:
vehicleName: Object - vehicle to which add the weaponsweaponName: String - weapon name. See the topic Category:Weapons for reference about possible valuescount: Number - number of weapons to add. Arma 3 v2.14 negative count will remove weapons.
Returns: Nothing
Examples
Example 1
_truck addWeaponCargoGlobal ["M16", 5];
See also
addMagazineCargo · clearMagazineCargo · clearWeaponCargo · addMagazineCargoGlobal · addBackpackCargo · addBackpackCargoGlobal · addItemCargo · addItemCargoGlobal · addWeaponWithAttachmentsCargoGlobal