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