getPylonMagazines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|gr1= Pylons" to "|gr1= Vehicle Loadouts")
m (Text replacement - "\{\{RV\|type=command \| arma3 \| *([0-9]\.[0-9]{2}) * \|gr1=(.*) \|(.*) \|(.*) \|p1=(.*) \|(.*) \|x1=(.*) \|seealso=(.*) \}\} " to "{{RV|type=command |game1= arma3 |version1= $1 |gr1=$2 |descr=$3 |s1=$4 |p1=$5 |r1=$6...)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.70
|1.70


|gr1= Vehicle Loadouts
|gr1= Vehicle Loadouts


|Return array of magazines on pylons
|descr=Return array of magazines on pylons


| '''getPylonMagazines''' vehicle
|s1= '''getPylonMagazines''' vehicle


|p1= vehicle: [[Object]]
|p1= vehicle: [[Object]]


| [[Array]] of [[String]]s (magazine classnames)
|r1= [[Array]] of [[String]]s (magazine classnames)


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

Revision as of 17:27, 9 June 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


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.