addItemPool: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
Line 17: Line 17:
|p3= count: [[Number]] - Number of items to add
|p3= count: [[Number]] - Number of items to add


| [[Nothing]]
|r1= [[Nothing]]


|x1= <code>addItemPool ["ItemGPS", 5];</code>
|x1= <code>addItemPool ["ItemGPS", 5];</code>

Revision as of 10:06, 10 June 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:
Nothing

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