Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:2.00

Description

Description:

Removes one magazine from the specified turret.

Note: It is possible to create invalid combinations with this command. When doing so, application behavior is undefined.

Syntax

Syntax:vehicle removeMagazineTurret [magazine, turret]
Parameters:
  • vehicle: Object - Affected vehicle.
  • magazine: String - Class name (see Magazine Configuration in the VBS3 Developer Reference) of the magazine to remove.
  • turret: Array - Turret path (use [-1] for turret-less vehicles).
Return Value:Nothing

Examples

Examples:tank1 removeMagazineTurret ["vbs2_mag_25rnd_Sh_120_sabot_KEWa2",[0]]tank1 removeMagazineTurret ["vbs2_mag_100rnd_127x99_Trace_browning_m2",[0,0]]

Additional Information

See also: removeMagazine, addMagazineTurret, magazinesTurret, removeMagazinesTurret, weaponsTurret
Multiplayer:
Problems:

Notes