Difference between revisions of "addWeaponPool"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "")
m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 21: Line 21:
 
|x1= <code>[[addWeaponPool]] ["M16",5];</code>
 
|x1= <code>[[addWeaponPool]] ["M16",5];</code>
  
| [[addMagazinePool]], [[clearWeaponPool]], [[queryWeaponPool]], [[addMagazineAmmoCargo]]
+
|seealso= [[addMagazinePool]], [[clearWeaponPool]], [[queryWeaponPool]], [[addMagazineAmmoCargo]]
 
}}
 
}}
  

Revision as of 23:21, 16 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Weapon Pool

Syntax

Syntax:
Syntax needed
Parameters:
[weaponName, count]: Array
weaponName: String - weapon name. See the topic Category:Weapons for reference about possible values.
count: Number - number of weapons to add
Return Value:
Return value needed

Examples

Example 1:
addWeaponPool ["M16",5];

Additional Information

See also:
addMagazinePoolclearWeaponPoolqueryWeaponPooladdMagazineAmmoCargo

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