clearBackpackCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 103700 by Pharenhite on 2017-07-06T16:26:04Z)
m (template:command argument fix)
Line 12: Line 12:
| '''clearBackpackCargo''' box |= Syntax
| '''clearBackpackCargo''' box |= Syntax


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


| [[Nothing]] |= RETURNVALUE
| [[Nothing]] |RETURNVALUE=  




|x1= <code>clearBackpackCargo myBox;
|x1= <code>clearBackpackCargo myBox;
</code>|= EXAMPLE1
</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[backpackContainer]], [[firstBackpack]], [[unitBackpack]], [[backpack]], [[backpackCargo]], [[getBackpackCargo]], [[backpackItems]], [[addBackpack]], [[addBackpackCargo]], [[addBackpackCargoGlobal]], [[removeBackpack]], [[clearBackpackCargoGlobal]], [[clearAllItemsFromBackpack]], [[loadBackpack]], [[backpackSpaceFor]], [[canAddItemToBackpack]], [[addItemToBackpack]], [[removeItemFromBackpack]], [[everyBackpack]] |= SEEALSO
| [[backpackContainer]], [[firstBackpack]], [[unitBackpack]], [[backpack]], [[backpackCargo]], [[getBackpackCargo]], [[backpackItems]], [[addBackpack]], [[addBackpackCargo]], [[addBackpackCargoGlobal]], [[removeBackpack]], [[clearBackpackCargoGlobal]], [[clearAllItemsFromBackpack]], [[loadBackpack]], [[backpackSpaceFor]], [[canAddItemToBackpack]], [[addItemToBackpack]], [[removeItemFromBackpack]], [[everyBackpack]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:29, 7 April 2019

Hover & click on the images for description

Description

Description:
Removes all backpacks from ammo box (or any general weapon holder container).
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
clearBackpackCargo myBox;

Additional Information

See also:
backpackContainerfirstBackpackunitBackpackbackpackbackpackCargogetBackpackCargobackpackItemsaddBackpackaddBackpackCargoaddBackpackCargoGlobalremoveBackpackclearBackpackCargoGlobalclearAllItemsFromBackpackloadBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack

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

Notes

Bottom Section

Posted on July 6, 2017 - 16:26 (UTC)
Pharenhite
This will remove not only backpacks, but vests and uniforms as well.