addItemCargoGlobal: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Fix example class, optic_ARCO2 does not exists in A3) |
||
Line 29: | Line 29: | ||
|x1= <code>supplyBox [[addItemCargoGlobal]] [" | |x1= <code>supplyBox [[addItemCargoGlobal]] ["optic_Arco", 10];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 16:22, 7 December 2020
Description
- Description:
- Creates new items and stores them in the given container. Works with items, weapons and magazines.
- Multiplayer:
- Command is executed on all connected clients in multiplayer.
- 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:
- addItemCargoclearItemCargoGlobaladdMagazineCargoaddMagazineCargoGlobaladdWeaponCargoaddWeaponCargoGlobaladdBackpackCargoaddBackpackCargoGlobal
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