clearBackpackCargoGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(59 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma2oa |Game name=
|game1= arma2oa
|version1= 1.55


|1.55|Game version=
|game2= tkoh
|version2= 1.00


|arg= global |Multiplayer Arguments=
|game3= arma3
|version3= 0.50


|eff= global |Multiplayer Effects=
|gr1= Containers
____________________________________________________________________________________________


| Removes all backpacks from the vehicle cargo space. MP synchronized. |DESCRIPTION=
|arg= global
____________________________________________________________________________________________


| '''clearBackpackCargoGlobal''' unit |SYNTAX=
|eff= global


|p1 = unit: [[Object]] |PARAMETER1=
|descr= Removes all backpacks from the vehicle cargo space. MP synchronized.


| [[Nothing]] |RETURNVALUE=
|s1= [[clearBackpackCargoGlobal]] unit


|p1= unit: [[Object]]


|x1= <code>clearBackpackCargoGlobal jeepOne;</code>|EXAMPLE1=
|r1= [[Nothing]]
____________________________________________________________________________________________


| [[backpackContainer]], [[firstBackpack]], [[unitBackpack]], [[backpack]], [[backpackCargo]], [[getBackpackCargo]], [[backpackItems]], [[addBackpack]], [[addBackpackCargo]], [[addBackpackCargoGlobal]], [[removeBackpack]], [[clearBackpackCargo]], [[clearAllItemsFromBackpack]], [[loadBackpack]], [[backpackSpaceFor]], [[canAddItemToBackpack]], [[addItemToBackpack]], [[removeItemFromBackpack]], [[everyBackpack]], [[clearMagazineCargo]], [[clearMagazineCargoGlobal]], [[clearWeaponCargo]], [[clearWeaponCargoGlobal]], [[clearItemCargo]], [[clearItemCargoGlobal]] |SEEALSO=  
|x1= <sqf>clearBackpackCargoGlobal jeepOne;</sqf>


| |MPBEHAVIOUR=  
|seealso= [[backpackContainer]] [[firstBackpack]] [[unitBackpack]] [[backpack]] [[backpackCargo]] [[getBackpackCargo]] [[backpackItems]] [[addBackpack]] [[addBackpackCargo]] [[addBackpackCargoGlobal]] [[removeBackpack]] [[clearBackpackCargo]] [[clearAllItemsFromBackpack]] [[loadBackpack]] [[backpackSpaceFor]] [[canAddItemToBackpack]] [[addItemToBackpack]] [[removeItemFromBackpack]] [[everyBackpack]] [[clearMagazineCargo]] [[clearMagazineCargoGlobal]] [[clearWeaponCargo]] [[clearWeaponCargoGlobal]] [[clearItemCargo]] [[clearItemCargoGlobal]]
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on July 6, 2017 - 16:26 (UTC)</dd>
<dt class="note">[[User:Pharenhite|Pharenhite]]</dt>
<dd class="note">
This will remove not only backpacks, but vests and uniforms as well.
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Latest revision as of 10:21, 13 May 2022

Hover & click on the images for description

Description

Description:
Removes all backpacks from the vehicle cargo space. MP synchronized.
Groups:
Containers

Syntax

Syntax:
clearBackpackCargoGlobal unit
Parameters:
unit: Object
Return Value:
Nothing

Examples

Example 1:
clearBackpackCargoGlobal jeepOne;

Additional Information

See also:
backpackContainer firstBackpack unitBackpack backpack backpackCargo getBackpackCargo backpackItems addBackpack addBackpackCargo addBackpackCargoGlobal removeBackpack clearBackpackCargo clearAllItemsFromBackpack loadBackpack backpackSpaceFor canAddItemToBackpack addItemToBackpack removeItemFromBackpack everyBackpack clearMagazineCargo clearMagazineCargoGlobal clearWeaponCargo clearWeaponCargoGlobal clearItemCargo clearItemCargoGlobal

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