ammoOnPylon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 38: Line 38:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on May 17, 2017 - 08:36 (UTC)</dd>
<dt class="note">[[User:SimZor|SimZor]]</dt>
<dd class="note">
(vehicle player) ammoOnPylon "pylon1";
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 10:36, 17 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

Posted on May 17, 2017 - 08:36 (UTC)
SimZor
(vehicle player) ammoOnPylon "pylon1";