addMagazineAmmoCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma 3|= Game name |1.29|= Game version |arg= global |= ...")
 
(ver)
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma 3|= Game name
| arma3|= Game name


|1.29|= Game version
|1.31|= Game version


|arg= global |= Arguments in MP
|arg= global |= Arguments in MP

Revision as of 22:07, 1 October 2014

Hover & click on the images for description

Description

Description:
Adds magazines with specified ammo count to the cargo space of a vehicle or a container.
Groups:
Uncategorised

Syntax

Syntax:
cargospace addMagazineAmmoCargo [magazine, quantity, ammocount]
Parameters:
cargospace: Object - vehicle or container or weaponholder
[magazine, quantity, ammocount]: Array
magazine: String - magazine class name
quantity: Number - number of magazines to add
ammocount: Number - ammo count in each magazine
Return Value:
Nothing

Examples

Example 1:
_ammobox addMagazineAmmoCargo ["30Rnd_65x39_caseless_mag", 2, 5];

Additional Information

See also:
addMagazineCargoaddMagazineGlobaladdMagazineaddMagazine_arrayaddMagazinesaddMagazinePooladdMagazineTurretclearMagazineCargoaddWeaponCargoclearWeaponCargoclearWeaponCargoaddWeaponCargoGlobaladdBackpackCargoGlobaladdItemCargoaddItemCargoGlobal

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section