addItemCargoGlobal: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Reverted to revision 98336 by killzone_kid on 2016-12-28T14:05:19Z) |
m (template:command argument fix) |
||
Line 16: | Line 16: | ||
| box '''addItemCargoGlobal''' [item, count] |= Syntax | | box '''addItemCargoGlobal''' [item, count] |= Syntax | ||
|p1= box: [[Object]] |= | |p1= box: [[Object]] |PARAMETER1= | ||
|p2= [item, count]: [[Array]] |= | |p2= [item, count]: [[Array]] |PARAMETER2= | ||
|p3= item: [[String]] |= | |p3= item: [[String]] |PARAMETER3= | ||
|p4= count: [[Number]] |= | |p4= count: [[Number]] |PARAMETER4= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>supplyBox [[addItemCargoGlobal]] ["optic_ARCO2", 10];</code> |= | |x1= <code>supplyBox [[addItemCargoGlobal]] ["optic_ARCO2", 10];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[addItemCargo]], [[clearItemCargoGlobal]], [[addMagazineCargo]], [[addMagazineCargoGlobal]], [[addWeaponCargo]], [[addWeaponCargoGlobal]], [[addBackpackCargo]], [[addBackpackCargoGlobal]] |= | | [[addItemCargo]], [[clearItemCargoGlobal]], [[addMagazineCargo]], [[addMagazineCargoGlobal]], [[addWeaponCargo]], [[addWeaponCargoGlobal]], [[addBackpackCargo]], [[addBackpackCargoGlobal]] |SEEALSO= | ||
|mp= Command is executed on all connected clients in multiplayer. |= | |mp= Command is executed on all connected clients in multiplayer. |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:28, 7 April 2019
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:
- Uncategorised
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_ARCO2", 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