removeBackpack: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma2oa * * *\| *([0-1]\.[0-9]{2}) * " to "|game1= arma2oa |version1= $1 ") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
(26 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|game1= arma2oa | |game1= arma2oa | ||
|version1= 1. | |version1= 1.50 | ||
|game2= tkoh | |game2= tkoh | ||
Line 18: | Line 18: | ||
|descr= Removes unit's backpack | |descr= Removes unit's backpack | ||
|s1= | |s1= [[removeBackpack]] unit | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
|r1=[[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>removeBackpack this;</sqf> | ||
|x2= < | |x2= <sqf>removeBackpack mySoldierDude;</sqf> | ||
|seealso= [[removeBackpackGlobal]] | |seealso= [[removeBackpackGlobal]] [[backpackContainer]] [[firstBackpack]] [[unitBackpack]] [[backpack]] [[backpackCargo]] [[getBackpackCargo]] [[backpackItems]] [[addBackpack]] [[addBackpackCargo]] [[addBackpackCargoGlobal]] [[clearBackpackCargo]] [[clearBackpackCargoGlobal]] [[clearAllItemsFromBackpack]] [[loadBackpack]] [[backpackSpaceFor]] [[canAddItemToBackpack]] [[addItemToBackpack]] [[removeItemFromBackpack]] [[everyBackpack]] | ||
}} | }} | ||
Latest revision as of 10:24, 13 May 2022
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