magazineTurretAmmo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{( *)Warning( *)\|" to "{{$1Feature$2|$Warning$2|")
m (Text replacement - " +\|\$Warning( *)\|" to " |$1Warning$1|")
Line 9: Line 9:


| Returns ammo count of given type from given turret  
| Returns ammo count of given type from given turret  
{{Feature |$Warning | Broken when vehicle has multiple magazines of the same type}}
{{Feature | Warning | Broken when vehicle has multiple magazines of the same type}}


| vehicle [[magazineTurretAmmo]] [magazineClass, turretPath]
| vehicle [[magazineTurretAmmo]] [magazineClass, turretPath]

Revision as of 01:34, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Broken CommandsTurrets

Syntax

Syntax:
Syntax needed
Parameters:
vehicle: Object
[magazineClass, turretPath]: Array
Return Value:
Return value needed

Examples

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

Additional Information

See also:
See also needed

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