magazineTurretAmmo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(temp)
 
m (1.34)
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3dev |= Game name
| arma3 |= Game name


|1.33|= Game version
|1.34|= Game version


____________________________________________________________________________________________
____________________________________________________________________________________________
Line 20: Line 20:




|x1= <code>vehicle player ammoTurret ["cls", [0]]</code>|= EXAMPLE1  
|x1= <code>vehicle [[player]] [[magazineTurretAmmo]] ["cls", [0]]</code>|= EXAMPLE1  
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 22:49, 12 December 2014

Hover & click on the images for description

Description

Description:
Returns ammo count of given type from given turret
Groups:
Uncategorised

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:
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

Notes

Bottom Section