magazineTurretAmmo: Difference between revisions
BrettMayson (talk | contribs) mNo edit summary |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 14: | Line 14: | ||
|p2= magazineClass: [[String]] | |p2= magazineClass: [[String]] | ||
|p3= turretPath: | |p3= turretPath: [[Turret Path]] - [-1] for driver turret is supported | ||
|r1= [[Number]] | |r1= [[Number]] | ||
Latest revision as of 08:49, 2 January 2026
Description
- Description:
- Returns ammo count of given magazine from given turret (see setMagazineTurretAmmo for more info)
- Groups:
- Turrets
Syntax
- Syntax:
- vehicle magazineTurretAmmo [magazineClass, turretPath]
- Parameters:
- vehicle: Object
- magazineClass: String
- turretPath: Turret Path - [-1] for driver turret is supported
- Return Value:
- Number
Examples
- Example 1:
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note
- Posted on May 04, 2024 - 11:38 (UTC)
- Returns ammo for first magazine, not loaded magazine.