queryMagazinePool: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|=GROUP2" to "|GROUP2=")
m (Text replacement - "|=GROUP1" to "|GROUP1=")
Line 6: Line 6:
|1.75|Game version=
|1.75|Game version=


|gr1= Weapon Pool |=GROUP1
|gr1= Weapon Pool |GROUP1=
|gr2= Weapons |GROUP2=
|gr2= Weapons |GROUP2=
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 16:37, 26 September 2020

Hover & click on the images for description

Description

Description:
Return number of magazines of type name in magazine pool (used in campaign to transfer magazines into next mission).
Groups:
Weapon PoolWeapons

Syntax

Syntax:
Number = queryMagazinePool name
Parameters:
name: String
Return Value:
Number

Examples

Example 1:
_num = queryMagazinePool "M16";

Additional Information

See also:
addMagazineGlobaladdMagazineaddMagazinesaddMagazineCargoaddMagazineCargoGlobaladdMagazineTurretaddWeaponPoolclearMagazinePooladdMagazineAmmoCargo

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