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

unitName addPrimaryWeaponItem 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.

This does NOT add the weapon, adds weapons attachment(s). Will only add items that are compatible with unit's primary weapon.

Used In

Arma3

Example

loon1 addPrimaryWeaponItem "muzzle_snds_H";

Advertisement