currentMagazineDetailTurret: Difference between revisions

From Bohemia Interactive Community
m (Some wiki formatting)
mNo edit summary
 
Line 12: Line 12:
|p1= vehicle: [[Object]]
|p1= vehicle: [[Object]]


|p2= turretPath: [[Array]] format [[Turret Path]]
|p2= turretPath: [[Turret Path]]


|r1= [[String]]
|r1= [[String]]

Latest revision as of 07:48, 2 January 2026

Hover & click on the images for description

Description

Description:
Returns the class name of currently used magazine on specified turret. Use turret path [-1] for driver's turret. Note that a turret is not loaded until unit enters it, so this command will return "".
Groups:
Turrets

Syntax

Syntax:
vehicle currentMagazineDetailTurret turretPath
Parameters:
vehicle: Object
turretPath: Turret Path
Return Value:
String

Examples

Example 1:
_magazineDetail = MBT_Kuma currentMagazineDetailTurret [0];

Additional Information

See also:
currentMagazineTurret currentWeaponTurret 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