clearItemCargoGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "")
m (Text replacement - " {3,}\|" to " |")
Line 6: Line 6:


|gr1 = Containers
|gr1 = Containers


|arg= global
|arg= global
Line 18: Line 16:


|p1= box: [[Object]]
|p1= box: [[Object]]


| [[Nothing]]
| [[Nothing]]

Revision as of 17:02, 18 January 2021

Hover & click on the images for description

Description

Description:
Removes all items from ammo box (or any general weapon holder container).
Multiplayer:
Command is executed on all connected clients in multiplayer.
Groups:
Containers

Syntax

Syntax:
clearItemCargoGlobal box
Parameters:
box: Object
Return Value:
Nothing

Examples

Example 1:
clearItemCargoGlobal _ammoBox;

Additional Information

See also:
clearItemCargoaddItemCargoGlobalclearMagazineCargoclearMagazineCargoGlobalclearWeaponCargoclearWeaponCargoGlobalclearBackpackCargoclearBackpackCargoGlobal

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