ammoOnPylon

From Bohemia Interactive Community
Revision as of 00:11, 18 May 2017 by Shukari (talk | contribs) (added SimZor example)
Jump to navigation Jump to search
Hover & click on the images for description

Description

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

Syntax

Syntax:
vehicle ammoOnPylon (pylon name/index)
Parameters:
vehicle: Object
pylon name/index : String or Number
Return Value:
Number or Bool

Examples

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

Additional Information

See also:
setAmmoOnPylon getPylonMagazines

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