removeBackpack: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " {3,}\|" to " |") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
(42 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma2oa | |game1= arma2oa | ||
|version1= 1.50 | |||
|arg= local | |game2= tkoh | ||
|version2= 1.00 | |||
|game3= arma3 | |||
|version3= 0.50 | |||
|arg= local | |||
|eff= global | |eff= global | ||
| | |gr1= Containers | ||
| | |descr= Removes unit's backpack | ||
| | |s1= [[removeBackpack]] unit | ||
| [[ | |p1= unit: [[Object]] | ||
| | |r1= [[Nothing]] | ||
|x1= <sqf>removeBackpack this;</sqf> | |||
|x1= < | |||
|x2= < | |x2= <sqf>removeBackpack mySoldierDude;</sqf> | ||
| [[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