queryMagazinePool: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
(19 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|QUERYMAGAZINEPOOL]]
{{Command|Comments=
[[Category:Scripting Commands OFP 1.96|QUERYMAGAZINEPOOL]]
[[Category:Scripting Commands ArmA|QUERYMAGAZINEPOOL]]
 
{{Command|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| ofpr |= Game name
| ofpr |Game name=


|1.75|= Game version
|1.75|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Return number of magazines of type name in magazine pool (used in campaign to transfer magazines into next mission). |= Description
| Return number of magazines of type name in magazine pool (used in campaign to transfer magazines into next mission). |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''queryMagazinePool''' "MagType" |= Syntax
| [[Number]] <nowiki>=</nowiki> '''queryMagazinePool''' name |SYNTAX=


|p1= MagType: [[String]] |= Parameter 1
|p1= name: [[String]] |PARAMETER1=


| [[Number]] |= Return value
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1=<pre>_num=queryMagazinePool "M16"</pre>
|x1=<code>_num = [[queryMagazinePool]] "M16";</code>


| |= See also
| [[addMagazineGlobal]], [[addMagazine]], [[addMagazines]], [[addMagazineCargo]], [[addMagazineCargoGlobal]], [[addMagazineTurret]], [[addWeaponPool]], [[clearMagazinePool]], [[addMagazineAmmoCargo]] |SEEALSO=


}}
}}
Line 34: Line 30:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|QUERYMAGAZINEPOOL]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|QUERYMAGAZINEPOOL]]
[[Category:Scripting Commands ArmA|QUERYMAGAZINEPOOL]]
[[Category:Scripting Commands Arma 2|QUERYMAGAZINEPOOL]]
[[Category:Command_Group:_Weapons|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Weapon Pool|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 17:30, 6 April 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:
Uncategorised

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