addItemPool: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("serv...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.04 | |1.04 | ||
|gr1= Weapon Pool | |gr1= Weapon Pool | ||
| 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] | | '''addItemPool''' [itemName, count] | ||
|p1= [itemName, count]: [[Array]] | |p1= [itemName, count]: [[Array]] | ||
|p2= itemName: [[String]] - Item name | |p2= itemName: [[String]] - Item name | ||
|p3= count: [[Number]] - Number of items to add | |p3= count: [[Number]] - Number of items to add | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>addItemPool ["ItemGPS", 5];</code> | |x1= <code>addItemPool ["ItemGPS", 5];</code> | ||
| [[clearItemPool]] | | [[clearItemPool]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:02, 18 January 2021
Description
- Description:
- Adds count items of type name into the weapon pool (used in the campaign to transfer items to the next mission)
- 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