getPylonMagazines: Difference between revisions

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


| getPylonMagazines vehicle |= Syntax
| '''getPylonMagazines''' vehicle |= Syntax


|p1= vehicle: [[Object]] |= Parameter 1
|p1= vehicle: [[Object]] |= Parameter 1
Line 20: Line 20:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= getPylonMagazines vehicle player|= Example 1
|x1= '''getPylonMagazines''' [[vehicle]] [[player]]|= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 16:31, 16 May 2017

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.70|1.70]]
Hover & click on the images for description

Description

Description:
Return array of magazines on pylons
This command is not final and might be changed in a near future.
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

[[Category:Introduced with arma3dev version 1.70]][[ Category: arma3dev: New Scripting Commands | GETPYLONMAGAZINES]][[ Category: arma3dev: Scripting Commands | GETPYLONMAGAZINES]]


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.