addWeaponCargo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
= | <h2 style="color:#000066">'''''unit'' addWeaponCargo ''weapons'''''</h2> | ||
Revision as of 13:39, 15 April 2006
back to COMREF
unit addWeaponCargo weapons
Operand types:
unit: Object
weapons: 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 CfgWeapons.
Example:
rearmTruckOne addWeaponCargo ["M16",10]