removeBackpackGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
|version1= 1.32
 
|arg= global
|arg= global
|eff= global
|eff= global
|1.32


|gr1= Unit Inventory
|gr1= Unit Inventory
Line 11: Line 11:
|descr= Removes backpack from a unit. (even non-local)
|descr= Removes backpack from a unit. (even non-local)


|s1= '''removeBackpackGlobal''' unit
|s1= [[removeBackpackGlobal]] unit


|p1= unit: [[Object]] - soldier
|p1= unit: [[Object]] - soldier

Revision as of 01:50, 14 June 2021

Hover & click on the images for description

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:
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


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