queryMagazinePool: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (format)
mNo edit summary
Line 32: Line 32:


[[Category:Scripting Commands|QUERYMAGAZINEPOOL]]
[[Category:Scripting Commands|QUERYMAGAZINEPOOL]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|QUERYMAGAZINEPOOL]]
[[Category:Scripting Commands OFP 1.96|QUERYMAGAZINEPOOL]]
[[Category:Scripting Commands ArmA|QUERYMAGAZINEPOOL]]
[[Category:Scripting Commands ArmA|QUERYMAGAZINEPOOL]]

Revision as of 11:58, 25 September 2014

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

Syntax

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

Examples

Example 1:
_num = queryMagazinePool "M16";

Additional Information

See also:
addMagazineGlobaladdMagazineaddMagazine_arrayaddMagazinesaddMagazineCargoaddMagazineCargoGlobaladdMagazineTurretaddWeaponPoolclearMagazinePooladdMagazineAmmoCargo

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