addItemCargoGlobal: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
(37 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 |= | |game1= arma3 | ||
|version1= 0.50 | |||
| | |arg= global | ||
| | |eff= global | ||
| | |gr1= Vehicle Inventory | ||
| | |descr= Global variant of [[addItemCargo]]. | ||
| | |s1= box [[addItemCargoGlobal]] [item, count] | ||
|p1= | |p1= box: [[Object]] | ||
|p2= | |p2= item: [[String]] | ||
|p3= | |p3= count: [[Number]] - number of items to add. Since Arma 3 v2.14, negative count will remove items. | ||
| | |r1= [[Nothing]] | ||
| [ | |x1= <sqf>supplyBox addItemCargoGlobal ["optic_Arco", 10];</sqf> | ||
|seealso= [[addItemCargo]] [[clearItemCargoGlobal]] [[addMagazineCargo]] [[addMagazineCargoGlobal]] [[addWeaponCargo]] [[addWeaponCargoGlobal]] [[addBackpackCargo]] [[addBackpackCargoGlobal]] | |||
| | |||
}} | }} | ||
Latest revision as of 00:13, 1 February 2023
Description
- Description:
- Global variant of addItemCargo.
- Groups:
- Vehicle Inventory
Syntax
- Syntax:
- box addItemCargoGlobal [item, count]
- Parameters:
- box: Object
- item: String
- count: Number - number of items to add. Since Arma 3 v2.14, negative count will remove items.
- Return Value:
- Nothing
Examples
- Example 1:
- supplyBox addItemCargoGlobal ["optic_Arco", 10];
Additional Information
- See also:
- addItemCargo clearItemCargoGlobal addMagazineCargo addMagazineCargoGlobal addWeaponCargo addWeaponCargoGlobal addBackpackCargo addBackpackCargoGlobal
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