getPylonMagazines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[Cc]ategory:[ _]?Arma[ _]3:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma3|$1}}")
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
Line 35: Line 35:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
{{GameCategory|arma3|New_Scripting_Commands_List}}
{{GameCategory|arma3|New_Scripting_Commands_List}}
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]



Revision as of 00:45, 8 January 2021

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 classnames)

Examples

Example 1:
getPylonMagazines (vehicle player)

Additional Information

See also:
Arma 3 Vehicle LoadoutsgetCompatiblePylonMagazinessetAmmoOnPylonammoOnPylonanimatePylonanimateBaysetPylonsPrioritysetPylonLoadoutmagazinesAllTurrets

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 indexes, such that element 0 is pylon 1, element 1 is pylon 2, etc.