addItemPool: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=")
Line 9: Line 9:
| Adds count items of type name into the weapon pool (used in the campaign to transfer items to the next mission)
| Adds count items of type name into the weapon pool (used in the campaign to transfer items to the next mission)


| '''addItemPool''' [itemName, count]
|s1=  '''addItemPool''' [itemName, count]


|p1= [itemName, count]: [[Array]]
|p1= [itemName, count]: [[Array]]

Revision as of 23:45, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Weapon Pool

Syntax

Syntax:
addItemPool [itemName, count]
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