addItemCargoGlobal: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " {3,}\|" to " |") |
||
Line 24: | Line 24: | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>supplyBox [[addItemCargoGlobal]] ["optic_Arco", 10];</code> | |x1= <code>supplyBox [[addItemCargoGlobal]] ["optic_Arco", 10];</code> | ||
| [[addItemCargo]], [[clearItemCargoGlobal]], [[addMagazineCargo]], [[addMagazineCargoGlobal]], [[addWeaponCargo]], [[addWeaponCargoGlobal]], [[addBackpackCargo]], [[addBackpackCargoGlobal]] | | [[addItemCargo]], [[clearItemCargoGlobal]], [[addMagazineCargo]], [[addMagazineCargoGlobal]], [[addWeaponCargo]], [[addWeaponCargoGlobal]], [[addBackpackCargo]], [[addBackpackCargoGlobal]] |
Revision as of 17:03, 18 January 2021
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