addWeaponCargo: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Scripting Commands|ADDWEAPONCARGO]] | [[Category:Scripting Commands|ADDWEAPONCARGO]] | ||
[[Category:Scripting Commands OFP 1. | [[Category:Scripting Commands OFP 1.96|ADDWEAPONCARGO]] | ||
[[Category:Scripting Commands OFP 1.46|ADDWEAPONCARGO]] | [[Category:Scripting Commands OFP 1.46|ADDWEAPONCARGO]] | ||
[[Category:Scripting Commands ArmA|ADDWEAPONCARGO]] | [[Category:Scripting Commands ArmA|ADDWEAPONCARGO]] |
Revision as of 19:41, 1 June 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]