clearBackpackCargoGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(68 intermediate revisions by 5 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 |= Arguments in MP
|game3= arma3
|version3= 0.50


|eff= global |= Effects in MP
|gr1= Containers
____________________________________________________________________________________________


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


| '''clearBackpackCargoGlobal''' unit |= Syntax
|eff= global


|p1 = unit: [[Object]] |= Parameter 1
|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}}}}]]

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