clearWeaponCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
Line 14: Line 14:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''clearWeaponCargo''' vehicleName|SYNTAX=
| [[clearWeaponCargo]] vehicleName|SYNTAX=


|p1= vehicleName: [[Object]] |PARAMETER1=
|p1= vehicleName: [[Object]] |PARAMETER1=
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>clearWeaponCargo _truck</pre> |EXAMPLE1=
|x1= <code>[[clearWeaponCargo]] _truck;</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[clearWeaponCargoGlobal]], [[addWeaponCargo]], [[addMagazineCargo]], [[clearMagazineCargo]], [[clearMagazineCargoGlobal]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]], [[clearItemCargo]], [[clearItemCargoGlobal]]  |SEEALSO=
| [[clearWeaponCargoGlobal]], [[addWeaponCargo]], [[addMagazineCargo]], [[clearMagazineCargo]], [[clearMagazineCargoGlobal]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]], [[clearItemCargo]], [[clearItemCargoGlobal]]  |SEEALSO=
}}
}}


Line 40: Line 39:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>


[[Category:Scripting Commands|CLEARWEAPONCARGO]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.99|CLEARWEAPONCARGO]]
[[Category:Scripting Commands OFP 1.46|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|CLEARWEAPONCARGO]]
[[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.46|CLEARWEAPONCARGO]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA|CLEARWEAPONCARGO]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Weapons|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Vehicle_Assignment|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group: Weapons|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Containers|{{uc:{{PAGENAME}}}}]]

Revision as of 19:50, 25 November 2019

Hover & click on the images for description

Description

Description:
Remove all weapons from the given vehicle's weapon cargo space.
Groups:
Uncategorised

Syntax

Syntax:
clearWeaponCargo vehicleName
Parameters:
vehicleName: Object
Return Value:
Nothing

Examples

Example 1:
clearWeaponCargo _truck;

Additional Information

See also:
clearWeaponCargoGlobaladdWeaponCargoaddMagazineCargoclearMagazineCargoclearMagazineCargoGlobalclearBackpackCargoclearBackpackCargoGlobalclearItemCargoclearItemCargoGlobal

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

Notes

Posted on October 24, 2009 - 11:02 (CEST)
Sbsmac
Only works on clients.

Bottom Section