clearWeaponCargoGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2oa
|game1= arma2oa
|version1= 1.55


|1.55
|game2= tkoh
|version2= 1.00


|gr1 = Containers
|game3= arma3
|version3= 0.50
 
|gr1= Containers


|arg= global
|arg= global
Line 11: Line 16:
|eff= global
|eff= global


| Removes all weapons from the vehicle cargo space. MP synchronized.
|descr= Removes all weapons from the vehicle cargo space. MP synchronized.


| [[clearWeaponCargoGlobal]] unit
|s1= [[clearWeaponCargoGlobal]] unit


|p1 = unit: [[Object]]
|p1= unit: [[Object]]


| [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[clearWeaponCargoGlobal]] jeepOne;</code>
|x1= <sqf>clearWeaponCargoGlobal jeepOne;</sqf>


| [[clearWeaponCargo]], [[addWeaponCargo]], [[clearMagazineCargo]], [[clearMagazineCargoGlobal]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]], [[clearItemCargo]], [[clearItemCargoGlobal]]
|seealso= [[clearWeaponCargo]] [[addWeaponCargo]] [[clearMagazineCargo]] [[clearMagazineCargoGlobal]] [[clearBackpackCargo]] [[clearBackpackCargoGlobal]] [[clearItemCargo]] [[clearItemCargoGlobal]]
}}
}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 14: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