removeAllMagazinesTurret

From Bohemia Interactive Community
Revision as of 23:16, 1 April 2025 by Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.20 |arg= local |eff= global |gr1= Turrets |descr= Removes all magazines from the given turret or from all turrets. Use turret path [-1] for driver's turret or [] for all turrets. |s1= vehicle removeAllMagazinesTurret turretPath |p1= vehicle: Object |p2= turretPath: Array format Turret Path. [-1] for driver's turret or [] for all turrets |r1= Nothing |x1= <sqf>vehicle player removeAllMagazinesTurre...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: Array format Turret Path. [-1] for driver's turret or [] for all turrets
Return Value:
Nothing

Examples

Example 1:
Copy
vehicle player removeAllMagazinesTurret [-1];
Example 2:
Copy
_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 or on the Forums.
Only post proven facts here! Add Note