getPylonMagazines: Difference between revisions

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


|x1= <code>[[getPylonMagazines]] [[vehicle]] [[player]] </code> |= Example 1
|x1= <code>[[getPylonMagazines]] ([[vehicle]] [[player]]) </code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 19:55, 16 May 2017

Hover & click on the images for description

Description

Description:
Return array of magazines on pylons
Groups:
Uncategorised

Syntax

Syntax:
getPylonMagazines vehicle
Parameters:
vehicle: Object
Return Value:
Array of Strings (magazine classnames)

Examples

Example 1:
getPylonMagazines (vehicle player)

Additional Information

See also:
ammoOnPylon 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


Notes

Bottom Section

Posted on May 12, 2017 - 19:58 (UTC)
AgentRev
The indexes of the returned array's elements are relative to the pylon IDs, such that element 0 is pylon 1, element 1 is pylon 2, etc.