getPylonMagazines: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
m (minor tweaks) |
||
Line 6: | Line 6: | ||
|gr1= Vehicle Loadouts | |gr1= Vehicle Loadouts | ||
|descr=Return array of magazines on pylons | |descr=Return array of magazines on pylons. | ||
|s1= [[getPylonMagazines]] vehicle | |s1= [[getPylonMagazines]] vehicle | ||
Line 12: | Line 12: | ||
|p1= vehicle: [[Object]] | |p1= vehicle: [[Object]] | ||
|r1= [[Array]] of [[String]]s | |r1= [[Array]] of [[String]]s - magazine names | ||
|x1= <code>[[getPylonMagazines]] | |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 09:56, 28 August 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 names
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.