magazineTurretAmmo

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.341.34
Hover & click on the images for descriptions

Description

Description:
Returns ammo count of given type from given turret
Broken when vehicle has multiple magazines of the same type

Syntax

Syntax:
vehicle magazineTurretAmmo [magazineClass, turretPath]
Parameters:
vehicle: Object
[magazineClass, turretPath]: Array
Return Value:
Number

Examples

Example 1:
vehicle player magazineTurretAmmo ["cls", [0]]

Additional Information

See also:
setMagazineTurretAmmomagazinesAllTurretsammoOnPylon

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section