Arma 3 Scripting

removeMagazineTurret

  • Local argument
  • Global effect
  • Arma 3 v0.50
  • First in Arma 2: Operation Arrowhead v1.52

Command · Markdown · JSON · original wiki page

Description

Removes the magazine from the turret. Use turret path [-1] for driver's turret.

Note: you may create invalid combinations by using this function. When doing so, application behaviour is undefined.

Syntax

vehicle removeMagazineTurret [magazineName, turretPath]

Parameters:

Returns: Nothing

Examples

Example 1

vehicle player removeMagazineTurret ["60rnd_cmflaremagazine",[-1]];

Example 2

_tank removeMagazineTurret ["20Rnd_120mmSABOT_M1A2",[0]];

See also

addMagazineTurret · magazinesTurret · removeMagazinesTurret · weaponsTurret · addWeaponTurret · removeWeaponTurret · turretLocal · removeMagazine