removeBackpackGlobal: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - ">Posted on May ([0-9]{1}), ([0-9]{4})" to ">Posted on $2-05-0$1") |
Lou Montana (talk | contribs) m (Text replacement - "IT07" to "Nelis.75733126") |
||
Line 27: | Line 27: | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on 2016-05-08 - 18:00 (UTC)</dd> | <dd class="notedate">Posted on 2016-05-08 - 18:00 (UTC)</dd> | ||
<dt class="note">[[User: | <dt class="note">[[User:Nelis.75733126|Nelis.75733126]]</dt> | ||
<dd class="note"> | <dd class="note"> | ||
Because of AG (Arguments Global), you can use this command to remove the backpack from UNITS that are local as well as REMOTE. | Because of AG (Arguments Global), you can use this command to remove the backpack from UNITS that are local as well as REMOTE. |
Revision as of 18:00, 16 April 2024
Description
- Description:
- Removes backpack from a unit. (even non-local)
- Groups:
- Unit Inventory
Syntax
- Syntax:
- removeBackpackGlobal unit
- Parameters:
- unit: Object - soldier
- Return Value:
- Nothing
Examples
- Example 1:
- removeBackpackGlobal player;
Additional Information
- See also:
- removeBackpack 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
- Posted on 2016-05-08 - 18:00 (UTC)
- Nelis.75733126
-
Because of AG (Arguments Global), you can use this command to remove the backpack from UNITS that are local as well as REMOTE.
where UNIT can be a local and/or REMOTE player and/or AIremoveBackpackGlobal UNIT;