addItemCargoGlobal: Difference between revisions
Jump to navigation
Jump to search
(Replaced description with reference to addItemCargo to not have to maintain the same info on both articles) |
Lou Montana (talk | contribs) |
||
Line 26: | Line 26: | ||
|x1= <code>supplyBox [[addItemCargoGlobal]] ["optic_Arco", 10];</code> | |x1= <code>supplyBox [[addItemCargoGlobal]] ["optic_Arco", 10];</code> | ||
|seealso= [[addItemCargo]] | |seealso= [[addItemCargo]] [[clearItemCargoGlobal]], [[addMagazineCargo]], [[addMagazineCargoGlobal]], [[addWeaponCargo]], [[addWeaponCargoGlobal]], [[addBackpackCargo]], [[addBackpackCargoGlobal]] | ||
}} | }} |
Revision as of 12:55, 20 January 2022
Description
- Description:
- Global variant of addItemCargo.
- Groups:
- Vehicle Inventory
Syntax
- Syntax:
- box addItemCargoGlobal [item, count]
- Parameters:
- box: Object
- [item, count]: Array
- item: String
- count: Number
- Return Value:
- Nothing
Examples
- Example 1:
supplyBox addItemCargoGlobal ["optic_Arco", 10];
Additional Information
- See also:
- addItemCargo clearItemCargoGlobaladdMagazineCargoaddMagazineCargoGlobaladdWeaponCargoaddWeaponCargoGlobaladdBackpackCargoaddBackpackCargoGlobal
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