ammoOnPylon

From Bohemia Interactive Community
Revision as of 16:13, 11 May 2017 by Dedmen (talk | contribs) (Add ammoOnPylon)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 Array
Return Value:
Scalar or Bool

Examples

Example 1:
hint str ((vehicle player) ammoOnPylon "pylonCenter")

Additional Information

See also:
setAmmoOnPylon

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