Difference between revisions of "setMagazineTurretAmmo"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
m (See also)
Line 24: Line 24:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[magazineTurretAmmo]] |SEEALSO=  
+
| [[magazineTurretAmmo]],[[setAmmoOnPylon]] |SEEALSO=  
  
 
|  |MPBEHAVIOUR=  
 
|  |MPBEHAVIOUR=  

Revision as of 11:43, 26 March 2020

Introduced with Arma 3 version 1.341.34
Hover & click on the images for descriptions

Description

Description:
Sets ammo count to given amount for given turret.
Broken when vehicle has multiple magazines of the same type

Syntax

Syntax:
vehicle setMagazineTurretAmmo [magazineClass, ammoCount, turretPath]
Parameters:
vehicle: Object
[magazineClass, ammoCount, turretPath]: Array
Return Value:
Number

Examples

Example:
Example needed

Additional Information

See also:
magazineTurretAmmosetAmmoOnPylon

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section