magazineTurretAmmo

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.34
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.34

Description

Description:
Returns ammo count of given type from given turret
warning.png 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

Multiplayer:
-
See also:
setMagazineTurretAmmo

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section