queryWeaponPool: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Added ArmA2)
Line 1: Line 1:
[[Category:Scripting Commands|QUERYWEAPONPOOL]]
[[Category:Scripting Commands OFP 1.96|QUERYWEAPONPOOL]]
[[Category:Scripting Commands ArmA|QUERYWEAPONPOOL]]
{{Command|= Comments
{{Command|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 33: Line 30:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|QUERYWEAPONPOOL]]
[[Category:Scripting Commands OFP 1.96|QUERYWEAPONPOOL]]
[[Category:Scripting Commands ArmA|QUERYWEAPONPOOL]]
[[Category:Scripting Commands ArmA2|QUERYWEAPONPOOL]]

Revision as of 08:24, 3 June 2009

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

Syntax

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

Examples

Example 1:
_num=queryWeaponPool "M16"

Additional Information

See also:
See also needed

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