addItemCargoGlobal: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|version1= 0.50 | |||
|0.50 | |||
|arg= global | |arg= global | ||
Line 11: | Line 10: | ||
|gr1= Vehicle Inventory | |gr1= Vehicle Inventory | ||
| Creates new items and stores them in the given container. Works with items, weapons and magazines. | |descr= Creates new items and stores them in the given container. Works with items, weapons and magazines. | ||
| box | |s1= box [[addItemCargoGlobal]] [item, count] | ||
|p1= box: [[Object]] | |p1= box: [[Object]] | ||
Line 27: | Line 26: | ||
|x1= <code>supplyBox [[addItemCargoGlobal]] ["optic_Arco", 10];</code> | |x1= <code>supplyBox [[addItemCargoGlobal]] ["optic_Arco", 10];</code> | ||
| [[addItemCargo]], [[clearItemCargoGlobal]], [[addMagazineCargo]], [[addMagazineCargoGlobal]], [[addWeaponCargo]], [[addWeaponCargoGlobal]], [[addBackpackCargo]], [[addBackpackCargoGlobal]] | |seealso= [[addItemCargo]], [[clearItemCargoGlobal]], [[addMagazineCargo]], [[addMagazineCargoGlobal]], [[addWeaponCargo]], [[addWeaponCargoGlobal]], [[addBackpackCargo]], [[addBackpackCargoGlobal]] | ||
}} | }} |
Revision as of 09:50, 11 June 2021
Description
- Description:
- Creates new items and stores them in the given container. Works with items, weapons and magazines.
- 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