Difference between revisions of "addWeaponPool"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
− | + | {{Command|= Comments | |
− | + | ____________________________________________________________________________________________ | |
− | |||
+ | | ofpr |= Game name | ||
− | + | |1.75|= Game version | |
+ | ____________________________________________________________________________________________ | ||
+ | | Add weapons to the weapon pool, of which the player may choose in the following mission. Available in campaigns only. |= Description | ||
+ | ____________________________________________________________________________________________ | ||
− | ''' | + | | '''addWeaponPool''' [weaponName, count] |= Syntax |
− | + | |p1= weaponName: [[Object]] - weapon name. See the[[]] topic [[Weapon and Magazine Names]] for reference about possible values. |= Parameter 1 | |
− | + | |p2= count: [[Integer]] - number of weapons to add |= Parameter 2 | |
− | [[Nothing]] | + | | [[Nothing]] |= Return value |
+ | ____________________________________________________________________________________________ | ||
+ | |||
+ | |x1= <pre>addWeaponPool ["M16",5]</pre> |= Example 1 | ||
+ | ____________________________________________________________________________________________ | ||
− | + | | [[clearWeaponPool]], [[addMagazinePool]] |= See also | |
− | + | }} | |
− | + | <h3 style="display:none">Notes</h3> | |
+ | <dl class="command_description"> | ||
+ | <!-- Note Section BEGIN --> | ||
− | + | <!-- Note Section END --> | |
+ | </dl> | ||
− | + | <h3 style="display:none">Bottom Section</h3> | |
− | + | [[Category:Scripting Commands|ADDWEAPONPOOL]] | |
− | + | [[Category:Scripting Commands OFP 1.96|ADDWEAPONPOOL]] | |
− | + | [[Category:Scripting Commands ArmA|ADDWEAPONPOOL]] | |
− |
Revision as of 22:58, 1 August 2006
Description
- Description:
- Add weapons to the weapon pool, of which the player may choose in the following mission. Available in campaigns only.
- Groups:
- Uncategorised
Syntax
- Syntax:
- addWeaponPool [weaponName, count]
- Parameters:
- weaponName: Object - weapon name. See the[[]] topic Weapon and Magazine Names for reference about possible values.
- count: Integer - number of weapons to add
- Return Value:
- Nothing
Examples
- Example 1:
addWeaponPool ["M16",5]
Additional Information
- See also:
- clearWeaponPooladdMagazinePool
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