getPylonMagazines: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting Commands Vehicle Loadouts|" to "[[Category:Command Group: Vehicle Loadouts|")  | 
				Lou Montana (talk | contribs)  m (Text replacement - "Samatra" to "Sa-Matra")  | 
				||
| (40 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{  | {{RV|type=command  | ||
| arma3 |  | |game1= arma3  | ||
|version1= 1.70  | |||
|  | |gr1= Vehicle Loadouts  | ||
|descr=Return array of magazines on pylons.  | |||
|  | |s1= [[getPylonMagazines]]  vehicle  | ||
|   | |p1= vehicle: [[Object]]  | ||
|  | |r1= [[Array]] of [[String]]s - magazine names  | ||
|x1= <sqf>getPylonMagazines vehicle player;</sqf>  | |||
|x1= <  | |||
|seealso= [[Arma 3: Vehicle Loadouts]] [[getCompatiblePylonMagazines]] [[setAmmoOnPylon]] [[ammoOnPylon]] [[animatePylon]] [[animateBay]] [[setPylonsPriority]] [[setPylonLoadout]] [[magazinesAllTurrets]]  | |||
}}  | }}  | ||
<dl class="command_description">  | <dl class="command_description">  | ||
<  | <dt></dt>  | ||
<  | <dd class="notedate">Posted on 2017-05-12 - 19:58 (UTC)</dd>  | ||
<dd class="notedate">Posted on   | <dt class="note">[[User:AgentRev|AgentRev]]</dt>  | ||
<dt class="note">[[User:  | |||
<dd class="note">  | <dd class="note">  | ||
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.  | 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.  | ||
</dd>  | </dd>  | ||
</dl>  | </dl>  | ||
{{Note  | |||
|user= Sa-Matra  | |||
|timestamp= 20240504051358  | |||
|text= Just like [[getAllPylonsInfo]] this command returns last pylon state which can include non-existent magazine that was deleted with [[removeMagazineTurret]]  | |||
}}  | |||
Latest revision as of 20:58, 4 July 2024
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:
 
Additional Information
- See also:
 - Arma 3: Vehicle Loadouts getCompatiblePylonMagazines setAmmoOnPylon ammoOnPylon animatePylon animateBay setPylonsPriority setPylonLoadout magazinesAllTurrets
 
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 2017-05-12 - 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.
 
- Posted on May 04, 2024 - 05:13 (UTC)
 - Just like getAllPylonsInfo this command returns last pylon state which can include non-existent magazine that was deleted with removeMagazineTurret