addItemPool: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Reverted to revision 106368 by krzmbrzl on 2018-03-29T13:04:19Z) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| '''addItemPool''' [itemName, count] |= Syntax | | '''addItemPool''' [itemName, count] |= Syntax | ||
|p1= [itemName, count]: [[Array]] |= | |p1= [itemName, count]: [[Array]] |PARAMETER1= | ||
|p2= itemName: [[String]] - Item name |= | |p2= itemName: [[String]] - Item name |PARAMETER2= | ||
|p3= count: [[Number]] - Number of items to add |= | |p3= count: [[Number]] - Number of items to add |PARAMETER3= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>addItemPool ["ItemGPS", 5];</code>|= | |x1= <code>addItemPool ["ItemGPS", 5];</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[clearItemPool]] |= | | [[clearItemPool]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:28, 7 April 2019
Description
- Description:
- Adds count items of type name into the weapon pool (used in the campaign to transfer items to the next mission)
- Groups:
- Uncategorised
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