getPylonMagazines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
m (Text replacement - "AgentRevolution" to "AgentRev")
 
(2 intermediate revisions by 2 users not shown)
Line 22: Line 22:


<dt></dt>
<dt></dt>
<dd class="notedate">Posted on May 12, 2017 - 19:58 (UTC)</dd>
<dd class="notedate">Posted on 2017-05-12 - 19:58 (UTC)</dd>
<dt class="note">[[User:AgentRevolution|AgentRev]]</dt>
<dt class="note">[[User:AgentRev|AgentRev]]</dt>
<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.
Line 29: Line 29:


</dl>
</dl>
{{Note
|user= Samatra
|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 00:07, 5 May 2024

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 names

Examples

Example 1:
getPylonMagazines vehicle player;

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.
Samatra - c
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