getPylonMagazines: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.70 | |1.70 | ||
|gr1= Vehicle Loadouts | |gr1= Vehicle Loadouts | ||
|Return array of magazines on pylons | |Return array of magazines on pylons | ||
| '''getPylonMagazines''' vehicle | | '''getPylonMagazines''' vehicle | ||
|p1= vehicle: [[Object]] | |p1= vehicle: [[Object]] | ||
| [[Array]] of [[String]]s (magazine classnames) | | [[Array]] of [[String]]s (magazine classnames) | ||
|x1= <code>[[getPylonMagazines]] ([[vehicle]] [[player]]) </code> | |x1= <code>[[getPylonMagazines]] ([[vehicle]] [[player]]) </code> | ||
| [[Arma 3 Vehicle Loadouts]],[[getCompatiblePylonMagazines]],[[setAmmoOnPylon]],[[ammoOnPylon]],[[animatePylon]],[[animateBay]],[[setPylonsPriority]],[[setPylonLoadout]],[[magazinesAllTurrets]] | | [[Arma 3 Vehicle Loadouts]],[[getCompatiblePylonMagazines]],[[setAmmoOnPylon]],[[ammoOnPylon]],[[animatePylon]],[[animateBay]],[[setPylonsPriority]],[[setPylonLoadout]],[[magazinesAllTurrets]] | ||
}} | }} |
Revision as of 00:40, 18 January 2021
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.