removeBackpackGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "Nelis.75733126" to "Nelis75733126")
 
(50 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma 3|Game name=
|game1= arma3
|arg= global|arguments=
|version1= 1.32
|eff= global|effect=


|1.32|Game version=
|arg= global
|eff= global


|gr1= Containers |GROUP1=
|gr1= Unit Inventory
____________________________________________________________________________________________


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


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


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


| [[Nothing]] |RETURNVALUE=
|r1= [[Nothing]]
____________________________________________________________________________________________
 
|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]] |SEEALSO=
|x1= <sqf>removeBackpackGlobal player;</sqf>


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


<h3 style="display:none">Notes</h3>
 
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]


<!-- CONTINUE Notes -->
<dt></dt>
<dl class="command_description">
<dd class="notedate">Posted on 2016-05-08 - 18:00 (UTC)</dd>
<dd class="notedate">Posted on May 8, 2016 - 18:00 (UTC)</dd>
<dt class="note">[[User:Nelis75733126|Nelis75733126]]</dt>
<dt class="note">[[User:IT07|IT07]]</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.
<code>[[removeBackpackGlobal]] UNIT;</code> where UNIT can be a local and/or REMOTE player and/or AI
<sqf>removeBackpackGlobal UNIT;</sqf> where UNIT can be a local and/or REMOTE player and/or AI
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->

Latest revision as of 15:38, 29 June 2024

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