Arma 3 Scripting

removeMagazines

  • Local argument
  • Global effect
  • Arma 3 v0.50
  • First in Operation Flashpoint v1.00

Command · Markdown · JSON · original wiki page

Description

Removes all magazines of given type from the unit. If magazine class does not exist, nothing happens, not even .rpt message, unlike with addMagazine command.

Syntax

unitName removeMagazines magazineName

Parameters:

Returns: Nothing

Examples

Example 1

player removeMagazines "30Rnd_556x45_Stanag";

See also

removeAllMagazines · addMagazine · magazines · removeMagazine · removeWeapon · removeMagazinesTurret · removeMagazineTurret · setVehicleAmmo

Community notes