ammoOnPylon

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.70
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.70

Description

Description:
Returns ammo count on given pylon. Returns false (Bool) on failure.

Syntax

Syntax:
vehicle ammoOnPylon pylon
Parameters:
vehicle: Object
pylon: String or Number - The name or the index of the pylon
Return Value:
Number or Bool

Examples

Example 1:
_ammoCount = (vehicle player) ammoOnPylon "pylon1";
Example 2:
hint str ((vehicle player) ammoOnPylon "pylonCenter");

Additional Information

Multiplayer:
-
See also:
setAmmoOnPylon getPylonMagazines

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To


Notes

Bottom Section

Posted on August 18, 2017 - 14:21 (UTC)
Commy2
The pylon indices start at 1 and not at 0.