unitName addSecondaryWeaponItem item

Operand types

unitName: Object
item: Item

Type of returned value

Description

Adds item to the weapon cargo space.
This is used for infantry weapons.

Does NOT add the weapon, adds weapon attachment(s).

Used In

Arma3

Example

loon1 addSecondaryWeaponItem "optic_MRD";
Search OFPEC COMREF