addMagazinePool: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofpr |= Game name | |||
|1.75|= Game version | |||
____________________________________________________________________________________________ | |||
| Add magazines to the magazine pool, of which the player may choose in the following mission. Available in campaigns only. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | '''addMagazinePool''' [magazineName, count] |= Syntax | ||
|p1= magazineName: [[String]] - magazine name. See the[[]] topic [[Weapon and Magazine Names]] for reference about possible values. |= Parameter 1 | |||
|p2= count: [[Integer]] - number of magazines to add |= Parameter 2 | |||
[[Nothing]] | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | |||
|x1= <pre>addMagazinePool ["M16",20]</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| [[clearMagazinePool]], [[addWeaponPool]] |= 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|ADDMAGAZINEPOOL]] | |||
[[Category:Scripting Commands OFP 1.96|ADDMAGAZINEPOOL]] | |||
[[Category:Scripting Commands ArmA|ADDMAGAZINEPOOL]] | |||
Revision as of 21:56, 1 August 2006
Description
- Description:
- Add magazines to the magazine pool, of which the player may choose in the following mission. Available in campaigns only.
- Groups:
- Uncategorised
Syntax
- Syntax:
- addMagazinePool [magazineName, count]
- Parameters:
- magazineName: String - magazine name. See the[[]] topic Weapon and Magazine Names for reference about possible values.
- count: Integer - number of magazines to add
- Return Value:
- Nothing
Examples
- Example 1:
addMagazinePool ["M16",20]
Additional Information
- See also:
- clearMagazinePooladdWeaponPool
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