addWeaponCargo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 26: | Line 26: | ||
Format of weapons is '''''[weaponName, count]'''''. | Format of weapons is '''''[weaponName, count]'''''. | ||
For weaponName values see [[Weapons|cfgWeapons]]. | For weaponName values see [[:Category: Weapons|cfgWeapons]]. | ||
Revision as of 19:13, 28 July 2006
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]