removeAllMagazinesTurret: Difference between revisions

From Bohemia Interactive Community
mNo edit summary
mNo edit summary
 
Line 16: Line 16:
|p1= vehicle: [[Object]]
|p1= vehicle: [[Object]]


|p2= turretPath: [[Turret Path]]. [-1] for driver's turret or [] for all turrets
|p2= turretPath: [[Turret Path]] - [-1] for driver's turret or [] for all turrets


|r1= [[Nothing]]
|r1= [[Nothing]]

Latest revision as of 09:52, 4 April 2026

Hover & click on the images for description

Description

Description:
Removes all magazines from the given turret or from all turrets. Use turret path [-1] for driver's turret or [] for all turrets.
Groups:
Turrets

Syntax

Syntax:
vehicle removeAllMagazinesTurret turretPath
Parameters:
vehicle: Object
turretPath: Turret Path - [-1] for driver's turret or [] for all turrets
Return Value:
Nothing

Examples

Example 1:
vehicle player removeAllMagazinesTurret [-1];
Example 2:
_tank removeAllMagazinesTurret [];

Additional Information

See also:
removeMagazinesTurret addMagazineTurret removeAllMagazines magazinesTurret removeMagazineTurret weaponsTurret addWeaponTurret removeWeaponTurret turretLocal

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note