clearItemCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
Lou Montana (talk | contribs) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Removes all items from ammo box (or any general weapon holder container). | | Removes all items from ammo box (or any general weapon holder container). |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[clearItemCargo]] box |SYNTAX= | ||
|p1= box: [[Object]] |PARAMETER1= | |p1= box: [[Object]] |PARAMETER1= | ||
| [[Nothing]] |RETURNVALUE | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>[[clearItemCargo]] myBox;</code>|EXAMPLE1= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[clearItemCargoGlobal]], [[addItemCargo]], [[clearMagazineCargo]], [[clearMagazineCargoGlobal]], [[clearWeaponCargo]], [[clearWeaponCargoGlobal]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]] |SEEALSO= | | [[clearItemCargoGlobal]], [[addItemCargo]], [[clearMagazineCargo]], [[clearMagazineCargoGlobal]], [[clearWeaponCargo]], [[clearWeaponCargoGlobal]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Line 36: | Line 32: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command Group: Containers|{{uc:{{PAGENAME}}}}]] |
Revision as of 19:52, 25 November 2019
Description
- Description:
- Removes all items from ammo box (or any general weapon holder container).
- Groups:
- Uncategorised
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