getPylonMagazines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 16: Line 16:
|p1= vehicle: [[Object]] |= Parameter 1
|p1= vehicle: [[Object]] |= Parameter 1


| [[Array]] of Classnames |= Return Value
| [[Array]] of [[String]]s (magazine classnames) |= Return Value


____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= getPylonMagazines (vehicle player)|= Example 1
|x1= getPylonMagazines vehicle player|= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


|  |= See Also
[[ammoOnPylon]] [[setAmmoOnPylon]] |= See Also


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

Revision as of 22:03, 12 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.