clearAllItemsFromBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Target is not a backpack)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Removes all items from the backpack.  |DESCRIPTION=
| Removes all items from backpack of a unit.  |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 03:19, 15 July 2020

Hover & click on the images for description

Description

Description:
Removes all items from backpack of a unit.
Groups:
Uncategorised

Syntax

Syntax:
clearAllItemsFromBackpack unit
Parameters:
unit: Object
Return Value:
Nothing

Examples

Example 1:
clearAllItemsFromBackpack player;

Additional Information

See also:
backpackContainerfirstBackpackunitBackpackbackpackbackpackCargogetBackpackCargobackpackItemsaddBackpackaddBackpackCargoaddBackpackCargoGlobalremoveBackpackclearBackpackCargoclearBackpackCargoGloballoadBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack

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