queryWeaponPool: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| ofpr |Game name=
| ofpr


|1.75|Game version=
|1.75


|gr1= Weapon Pool |GROUP1=
|gr1= Weapon Pool


| Return number of weapons of type name in weapon pool (used in campaign to transfer weapons into next mission). |DESCRIPTION=
| Return number of weapons of type name in weapon pool (used in campaign to transfer weapons into next mission).


|  [[Number]] <nowiki>=</nowiki> '''queryWeaponPool''' name |SYNTAX=
|  [[Number]] <nowiki>=</nowiki> '''queryWeaponPool''' name


|p1= name: [[String]] |PARAMETER1=
|p1= name: [[String]]


| [[Number]] |RETURNVALUE=
| [[Number]]
|x1=<pre>_num=queryWeaponPool "M16"</pre>
|x1=<pre>_num=queryWeaponPool "M16"</pre>


| [[queryItemsPool]] |SEEALSO=
| [[queryItemsPool]]


}}
}}

Revision as of 01:33, 18 January 2021

Hover & click on the images for description

Description

Description:
Return number of weapons of type name in weapon pool (used in campaign to transfer weapons into next mission).
Groups:
Weapon Pool

Syntax

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

Examples

Example 1:
_num=queryWeaponPool "M16"

Additional Information

See also:
queryItemsPool

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

Bottom Section