addWeaponCargo: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
[[Category:Scripting Commands| | [[Category:Scripting Commands|ADDWEAPONCARGO]] | ||
[[Category:Scripting Commands OFP 1.97| | [[Category:Scripting Commands OFP 1.97|ADDWEAPONCARGO]] | ||
[[Category:Scripting Commands OFP 1.46| | [[Category:Scripting Commands OFP 1.46|ADDWEAPONCARGO]] | ||
[[Category:Scripting Commands ArmA| | [[Category:Scripting Commands ArmA|ADDWEAPONCARGO]] | ||
Revision as of 12:59, 4 May 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]