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
addWeaponCargo - OFPEC Scripting Command Reference | OFPEC The Editing Center

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