getPylonMagazines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(format)
mNo edit summary
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3dev |= Game name
| arma3 |= Game name


|1.70|= Game Version
|1.70|= Game Version
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


|Return array of magazines on pylons
|Return array of magazines on pylons |= Description
{{warning|This command is not final and might be changed in a near future.}}|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 20: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= '''getPylonMagazines''' [[vehicle]] [[player]]|= Example 1
|x1= <code>[[getPylonMagazines]] [[vehicle]] [[player]] </code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 33: Line 32:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]


<!-- CONTINUE Notes -->
<!-- CONTINUE Notes -->

Revision as of 18:55, 16 May 2017

Hover & click on the images for description

Description

Description:
Return array of magazines on pylons
Groups:
Uncategorised

Syntax

Syntax:
getPylonMagazines vehicle
Parameters:
vehicle: Object
Return Value:
Array of Strings (magazine classnames)

Examples

Example 1:
getPylonMagazines vehicle player

Additional Information

See also:
ammoOnPylon setAmmoOnPylon

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 IDs, such that element 0 is pylon 1, element 1 is pylon 2, etc.