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