From Bohemia Interactive Community
|
|
Line 3: |
Line 3: |
| [[Category:Scripting Commands OFP 1.46|A]] | | [[Category:Scripting Commands OFP 1.46|A]] |
| [[Category:Scripting Commands ArmA|A]] | | [[Category:Scripting Commands ArmA|A]] |
|
| |
| back to [[Scripting_Reference#A|COMREF]]
| |
|
| |
|
|
| |
|
Revision as of 12:26, 23 April 2006
unit addWeaponCargo weapons
Operand types:
unit: Object
weapons: Array
Type of returned value:
Nothing
Description:
Add weapons to weapon cargo space.
Used for infantry weapons.
Format of weapons is [weaponName, count].
For weaponName values see Weapons.
Example:
rearmTruckOne addWeaponCargo ["M16",10]