magazineTurretAmmo: Difference between revisions

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


| Returns ammo count of given type from given turret  
| Returns ammo count of given type from given turret  
{{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 00:20, 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