unitName addWeaponCargo [weaponName, count]

Operand types

unitName: Object
[weaponName, count]: Array

Type of returned value

Description

Add weapons to weapon cargo space.
Used for infantry weapons.
Format of weapons is [weaponName, count].
For weaponName values see OFPWeapons or ArmAWeapons.

Used In

OFP/ArmA

Example

rearmTruckOne addWeaponCargo ["M16",10]

Advertisement