clearItemCargo: 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"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|0.50 | |0.50 | ||
|gr1 = Containers | |gr1 = Containers | ||
| Removes all items from ammo box (or any general weapon holder container). | | Removes all items from ammo box (or any general weapon holder container). | ||
| [[clearItemCargo]] box | | [[clearItemCargo]] box | ||
|p1= box: [[Object]] | |p1= box: [[Object]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[[clearItemCargo]] myBox;</code> | |x1= <code>[[clearItemCargo]] myBox;</code> | ||
| [[clearItemCargoGlobal]], [[addItemCargo]], [[clearMagazineCargo]], [[clearMagazineCargoGlobal]], [[clearWeaponCargo]], [[clearWeaponCargoGlobal]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]] | | [[clearItemCargoGlobal]], [[addItemCargo]], [[clearMagazineCargo]], [[clearMagazineCargoGlobal]], [[clearWeaponCargo]], [[clearWeaponCargoGlobal]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:12, 18 January 2021
Description
- Description:
- Removes all items from ammo box (or any general weapon holder container).
- Groups:
- Containers
Syntax
- Syntax:
- clearItemCargo box
- Parameters:
- box: Object
- Return Value:
- Nothing
Examples
- Example 1:
clearItemCargo myBox;
Additional Information
- See also:
- clearItemCargoGlobaladdItemCargoclearMagazineCargoclearMagazineCargoGlobalclearWeaponCargoclearWeaponCargoGlobalclearBackpackCargoclearBackpackCargoGlobal
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