ammoOnPylon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 35: Line 35:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 19:00, 16 May 2017

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