clearWeaponCargoGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(46 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 |= Arguments in MP
|game3= arma3
|version3= 0.50


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


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


| '''clearWeaponCargoGlobal''' unit |= Syntax
|eff= global


|p1 = unit: [[Object]] |= Parameter 1
|descr= Removes all weapons from the vehicle cargo space. MP synchronized.


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


|p1= unit: [[Object]]


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


| [[clearWeaponCargo]], [[addWeaponCargo]], [[clearMagazineCargo]], [[clearMagazineCargoGlobal]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]], [[clearItemCargo]], [[clearItemCargoGlobal]] |= SEEALSO
|x1= <sqf>clearWeaponCargoGlobal jeepOne;</sqf>


| |= MPBEHAVIOUR
|seealso= [[clearWeaponCargo]] [[addWeaponCargo]] [[clearMagazineCargo]] [[clearMagazineCargoGlobal]] [[clearBackpackCargo]] [[clearBackpackCargoGlobal]] [[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 13:17, 5 May 2022

Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
clearWeaponCargoGlobal jeepOne;

Additional Information

See also:
clearWeaponCargo addWeaponCargo clearMagazineCargo clearMagazineCargoGlobal clearBackpackCargo clearBackpackCargoGlobal 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