removeBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)\[\[Magic Variables#this(_| )2\|(this)\]\]([^<]*)<\/code>" to "<code>$1$3$4</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
Line 24: Line 24:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>removeBackpack this;</code>
|x1= <sqf>removeBackpack this;</sqf>


|x2= <sqf>removeBackpack mySoldierDude;</sqf>
|x2= <sqf>removeBackpack mySoldierDude;</sqf>

Latest revision as of 10:24, 13 May 2022

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