addWeaponPool: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\[\[Category:Scripting Commands OFP 1.[4-9]{2}(\|(\{\{uc:\{\{PAGENAME\}\}\}\}|#|[A-Z]+))?\]\] " to "")
Line 26: Line 26:




[[Category:Scripting Commands OFP 1.99|ADDWEAPONPOOL]]
[[Category:Scripting Commands OFP 1.96|ADDWEAPONPOOL]]
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}



Revision as of 23:29, 24 March 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