clearMagazineCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| ofp |Game name=
| ofp


|1.00|Game version=
|1.00


|gr1 = Containers |GROUP1=
|gr1 = Containers






|arg= global |Multiplayer Arguments=
|arg= global


|eff= local |Multiplayer Effects=
|eff= local


| Remove all magazines from the given vehicle's magazine cargo space. |DESCRIPTION=
| Remove all magazines from the given vehicle's magazine cargo space.


| [[clearMagazineCargo]] vehicleName|SYNTAX=
| [[clearMagazineCargo]] vehicleName


|p1= vehicleName: [[Object]] |PARAMETER1=
|p1= vehicleName: [[Object]]


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]
   
   
|x1= <code>[[clearMagazineCargo]] _truck;</code> |EXAMPLE1=
|x1= <code>[[clearMagazineCargo]] _truck;</code>


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



Revision as of 00:10, 18 January 2021

Hover & click on the images for description

Description

Description:
Remove all magazines from the given vehicle's magazine cargo space.
Groups:
Containers

Syntax

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

Examples

Example 1:
clearMagazineCargo _truck;

Additional Information

See also:
clearMagazineCargoGlobaladdMagazineCargoaddWeaponCargoclearWeaponCargoclearWeaponCargoGlobalclearBackpackCargoclearBackpackCargoGlobalclearItemCargoclearItemCargoGlobaladdMagazineAmmoCargo

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 11:02, 24 October 2009 (CEST)
Sbsmac
Effect is local, run on each client for global effect.

Bottom Section