getPylonMagazines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], *\[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], *\[\[([^ ]+)\]\]" to "|seealso= $1 ")
Line 16: Line 16:
|x1= <code>[[getPylonMagazines]] [[vehicle]] [[player]];</code>
|x1= <code>[[getPylonMagazines]] [[vehicle]] [[player]];</code>


|seealso= [[Arma 3: Vehicle Loadouts]] [[getCompatiblePylonMagazines]] [[setAmmoOnPylon]],[[ammoOnPylon]],[[animatePylon]],[[animateBay]],[[setPylonsPriority]],[[setPylonLoadout]],[[magazinesAllTurrets]]
|seealso= [[Arma 3: Vehicle Loadouts]] [[getCompatiblePylonMagazines]] [[setAmmoOnPylon]] [[ammoOnPylon]],[[animatePylon]],[[animateBay]],[[setPylonsPriority]],[[setPylonLoadout]],[[magazinesAllTurrets]]
}}
}}



Revision as of 22:26, 20 January 2022

Hover & click on the images for description

Description

Description:
Return array of magazines on pylons.
Groups:
Vehicle Loadouts

Syntax

Syntax:
getPylonMagazines vehicle
Parameters:
vehicle: Object
Return Value:
Array of Strings - magazine names

Examples

Example 1:
getPylonMagazines vehicle player;

Additional Information

See also:
Arma 3: Vehicle Loadouts getCompatiblePylonMagazines setAmmoOnPylon ammoOnPylonanimatePylonanimateBaysetPylonsPrioritysetPylonLoadoutmagazinesAllTurrets

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