addItemCargoGlobal: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("serv...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|0.50 | |0.50 | ||
|arg= global |Multiplayer Arguments= | |arg= global |Multiplayer Arguments= | ||
Line 9: | Line 9: | ||
|eff= global |Multiplayer Effects= | |eff= global |Multiplayer Effects= | ||
|gr1= Vehicle Inventory | |gr1= Vehicle Inventory | ||
| Creates new items and stores them in the given container. Works with items, weapons and magazines. | | Creates new items and stores them in the given container. Works with items, weapons and magazines. | ||
| box '''addItemCargoGlobal''' [item, count] | | box '''addItemCargoGlobal''' [item, count] | ||
|p1= box: [[Object]] | |p1= box: [[Object]] | ||
|p2= [item, count]: [[Array]] | |p2= [item, count]: [[Array]] | ||
|p3= item: [[String]] | |p3= item: [[String]] | ||
|p4= count: [[Number]] | |p4= count: [[Number]] | ||
| [[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]] | ||
|mp= Command is executed on all connected clients in multiplayer. |MPBEHAVIOUR= | |mp= Command is executed on all connected clients in multiplayer. |MPBEHAVIOUR= |
Revision as of 00: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