addItemCargoGlobal: Difference between revisions
Killzone Kid (talk | contribs) No edit summary |
mNo edit summary |
||
Line 18: | Line 18: | ||
|p2= item: [[String]] | |p2= item: [[String]] | ||
|p3= count: [[Number]] - number of items to add. | |p3= count: [[Number]] - number of items to add. {{GVI|arma3|2.14|size= 0.75}} negative count will remove items. | ||
|r1= [[Nothing]] | |r1= [[Nothing]] |
Latest revision as of 04:13, 9 October 2025
Description
- Description:
- Global variant of addItemCargo.
- Groups:
- Vehicle Inventory
Syntax
- Syntax:
- box addItemCargoGlobal [item, count]
- Parameters:
- box: Object
- item: String
- count: Number - number of items to add.
2.14 negative count will remove items.
- Return Value:
- Nothing
Examples
- Example 1:
- supplyBox addItemCargoGlobal ["optic_Arco", 10];
Additional Information
- See also:
- addItemCargo clearItemCargoGlobal addMagazineCargo addMagazineCargoGlobal addWeaponCargo addWeaponCargoGlobal addBackpackCargo addBackpackCargoGlobal
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