ammoOnPylon

From Bohemia Interactive Community
Revision as of 20:42, 12 May 2017 by AgentRev (talk | contribs)
Jump to navigation Jump to search
-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.70|1.70]]
Hover & click on the images for description

Description

Description:
Returns ammo count on given pylon. Returns false (Bool) on failure.
This command is not final and might be changed in a near future.
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:
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

[[Category:Introduced with arma3dev version 1.70]][[ Category: arma3dev: New Scripting Commands | AMMOONPYLON]][[ Category: arma3dev: Scripting Commands | AMMOONPYLON]]


Notes

Bottom Section