removeBackpack

From Bohemia Interactive Community
Revision as of 09:12, 13 May 2022 by Lou Montana (talk | contribs) (Text replacement - "<code>([^<]*)\[\[Magic Variables#this(_| )2\|(this)\]\]([^<]*)<\/code>" to "<code>$1$3$4</code>")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Removes unit's backpack
Groups:
Containers

Syntax

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

Examples

Example 1:
removeBackpack this;
Example 2:
removeBackpack mySoldierDude;

Additional Information

See also:
removeBackpackGlobal backpackContainer firstBackpack unitBackpack backpack backpackCargo getBackpackCargo backpackItems addBackpack addBackpackCargo addBackpackCargoGlobal clearBackpackCargo clearBackpackCargoGlobal clearAllItemsFromBackpack loadBackpack backpackSpaceFor canAddItemToBackpack addItemToBackpack removeItemFromBackpack everyBackpack

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