queryWeaponPool: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| ofpr | | ofpr | ||
|1.75 | |1.75 | ||
|gr1= Weapon Pool | |gr1= Weapon Pool | ||
| Return number of weapons of type name in weapon pool (used in campaign to transfer weapons into next mission). | | Return number of weapons of type name in weapon pool (used in campaign to transfer weapons into next mission). | ||
| [[Number]] <nowiki>=</nowiki> '''queryWeaponPool''' name | | [[Number]] <nowiki>=</nowiki> '''queryWeaponPool''' name | ||
|p1= name: [[String]] | |p1= name: [[String]] | ||
| [[Number]] | | [[Number]] | ||
|x1=<pre>_num=queryWeaponPool "M16"</pre> | |x1=<pre>_num=queryWeaponPool "M16"</pre> | ||
| [[queryItemsPool]] | | [[queryItemsPool]] | ||
}} | }} |
Revision as of 01:33, 18 January 2021
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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Resistance version 1.75
- Operation Flashpoint: Resistance: New Scripting Commands
- Operation Flashpoint: Resistance: Scripting Commands
- Command Group: Weapon Pool
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands