addItemPool: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}}" to "")
m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 21: Line 21:
|x1= <code>addItemPool ["ItemGPS", 5];</code>
|x1= <code>addItemPool ["ItemGPS", 5];</code>


| [[clearItemPool]]
|seealso= [[clearItemPool]]
}}
}}

Revision as of 23:20, 16 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Weapon Pool

Syntax

Syntax:
Syntax needed
Parameters:
[itemName, count]: Array
itemName: String - Item name
count: Number - Number of items to add
Return Value:
Return value needed

Examples

Example 1:
addItemPool ["ItemGPS", 5];

Additional Information

See also:
clearItemPool

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