removeBackpackGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(description)
m (template:command argument fix)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Removes backpack from a unit. (even non-local) |= Description
| Removes backpack from a unit. (even non-local) |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''removeBackpackGlobal''' unit|= Syntax
| '''removeBackpackGlobal''' unit|SYNTAX=


|p1= unit: [[Object]] - soldier |= Parameter 1
|p1= unit: [[Object]] - soldier |PARAMETER1=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[removeBackpackGlobal]] [[player]];</code> |= Example 1
|x1= <code>[[removeBackpackGlobal]] [[player]];</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[removeBackpack]], [[backpackContainer]], [[firstBackpack]], [[unitBackpack]], [[backpack]], [[backpackCargo]], [[getBackpackCargo]], [[backpackItems]], [[addBackpack]], [[addBackpackCargo]], [[addBackpackCargoGlobal]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]], [[clearAllItemsFromBackpack]], [[loadBackpack]], [[backpackSpaceFor]], [[canAddItemToBackpack]], [[addItemToBackpack]], [[removeItemFromBackpack]], [[everyBackpack]] |= See also
| [[removeBackpack]], [[backpackContainer]], [[firstBackpack]], [[unitBackpack]], [[backpack]], [[backpackCargo]], [[getBackpackCargo]], [[backpackItems]], [[addBackpack]], [[addBackpackCargo]], [[addBackpackCargoGlobal]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]], [[clearAllItemsFromBackpack]], [[loadBackpack]], [[backpackSpaceFor]], [[canAddItemToBackpack]], [[addItemToBackpack]], [[removeItemFromBackpack]], [[everyBackpack]] |SEEALSO=


}}
}}

Revision as of 14:45, 7 April 2019

Hover & click on the images for description

Description

Description:
Removes backpack from a unit. (even non-local)
Groups:
Uncategorised

Syntax

Syntax:
removeBackpackGlobal unit
Parameters:
unit: Object - soldier
Return Value:
Nothing

Examples

Example 1:
removeBackpackGlobal player;

Additional Information

See also:
removeBackpackbackpackContainerfirstBackpackunitBackpackbackpackbackpackCargogetBackpackCargobackpackItemsaddBackpackaddBackpackCargoaddBackpackCargoGlobalclearBackpackCargoclearBackpackCargoGlobalclearAllItemsFromBackpackloadBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack

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

Notes

Bottom Section

Posted on May 8, 2016 - 18:00 (UTC)
IT07
Because of AG (Arguments Global), you can use this command to remove the backpack from UNITS that are local as well as REMOTE. removeBackpackGlobal UNIT; where UNIT can be a local and/or REMOTE player and/or AI