getPylonMagazines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (category)
m (template:command argument fix)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


|Return array of magazines on pylons |= Description
|Return array of magazines on pylons |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''getPylonMagazines''' vehicle |= Syntax
| '''getPylonMagazines''' vehicle |SYNTAX=


|p1= vehicle: [[Object]] |= Parameter 1
|p1= vehicle: [[Object]] |PARAMETER1=


| [[Array]] of [[String]]s (magazine classnames) |= Return Value
| [[Array]] of [[String]]s (magazine classnames) |RETURNVALUE=


____________________________________________________________________________________________
____________________________________________________________________________________________


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


|  [[Arma 3 Vehicle Loadouts]],[[getCompatiblePylonMagazines]],[[setAmmoOnPylon]],[[ammoOnPylon]],[[animatePylon]],[[animateBay]],[[setPylonsPriority]],[[setPylonLoadOut]] |= See Also
|  [[Arma 3 Vehicle Loadouts]],[[getCompatiblePylonMagazines]],[[setAmmoOnPylon]],[[ammoOnPylon]],[[animatePylon]],[[animateBay]],[[setPylonsPriority]],[[setPylonLoadOut]] |SEEALSO=


}}
}}

Revision as of 14:40, 7 April 2019

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:
Arma 3 Vehicle LoadoutsgetCompatiblePylonMagazinessetAmmoOnPylonammoOnPylonanimatePylonanimateBaysetPylonsPrioritysetPylonLoadOut

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.