removeBackpackGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|gr1= Containers |GROUP1=" to "|gr1= Unit Inventory |GROUP1=")
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
Line 36: Line 36:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]



Revision as of 01:10, 9 January 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

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