addMagazineAmmoCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 106283 by Lou Montana on 2018-03-25T20:12:21Z)
m (template:command argument fix)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Adds magazines with specified ammo count to the cargo space of a vehicle or a container.|= Description
| Adds magazines with specified ammo count to the cargo space of a vehicle or a container.|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| cargospace [[addMagazineAmmoCargo]] [magazine, quantity, ammocount] |= Syntax
| cargospace [[addMagazineAmmoCargo]] [magazine, quantity, ammocount] |SYNTAX=


|p1= cargospace: [[Object]] - vehicle or container or weaponholder |= Parameter 1
|p1= cargospace: [[Object]] - vehicle or container or weaponholder |= Parameter 1
Line 26: Line 26:
|p5= ammocount: [[Number]] - ammo count in each magazine|= Parameter 5
|p5= ammocount: [[Number]] - ammo count in each magazine|= Parameter 5


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
Line 32: Line 32:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[addMagazineCargo]], [[addMagazineGlobal]], [[addMagazine]], [[addMagazines]], [[addMagazinePool]], [[addMagazineTurret]], [[clearMagazineCargo]], [[addWeaponCargo]], [[clearWeaponCargo]], [[clearWeaponCargo]], [[addWeaponCargoGlobal]], [[addBackpackCargoGlobal]], [[addItemCargo]], [[addItemCargoGlobal]] |= See also
| [[addMagazineCargo]], [[addMagazineGlobal]], [[addMagazine]], [[addMagazines]], [[addMagazinePool]], [[addMagazineTurret]], [[clearMagazineCargo]], [[addWeaponCargo]], [[clearWeaponCargo]], [[clearWeaponCargo]], [[addWeaponCargoGlobal]], [[addBackpackCargoGlobal]], [[addItemCargo]], [[addItemCargoGlobal]] |SEEALSO=


}}
}}

Revision as of 11:25, 7 April 2019

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:
addMagazineCargoaddMagazineGlobaladdMagazineaddMagazinesaddMagazinePooladdMagazineTurretclearMagazineCargoaddWeaponCargoclearWeaponCargoclearWeaponCargoaddWeaponCargoGlobaladdBackpackCargoGlobaladdItemCargoaddItemCargoGlobal

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