BIS fnc magazinesEntityType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision imported: BIS Functions update 1/7)
m (pf)
Line 1: Line 1:
{{Function|Comments=
____________________________________________________________________________________________
| arma3 |Game name=


{{Function|= Comments
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| Return object's magazines as defined in config. Scans also turrets and pylons. |Description=
 
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| class call [[BIS_fnc_magazinesEntityType]] |Syntax=
Author:
Karel Moricky


Description:
|p1=class: [[String]] - Object class |Parameter 1=
Return object's magazines as defined in config. Scans also turrets and pylons.
Parameter(s):
0: STRING - object class
Returns:
ARRAY of STRINGs
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [[Array]] of [[String|strings]] |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_magazinesEntityType]]; --> |= Syntax
|x1= <code>"O_MBT_04_cannon_F" [[call]] [[BIS_fnc_magazinesEntityType]];
|p1= |= Parameter 1
//Returns ["20Rnd_125mm_APFSDS_T_Green","12Rnd_125mm_HEAT_T_Green","12Rnd_125mm_HE_T_Green","1000Rnd_762x51_Belt_Green","1000Rnd_762x51_Belt_Green","500Rnd_127x99_mag_Tracer_Yellow","SmokeLauncherMag"]</code>|Example 1=


| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
| [[magazines]]  |See also=
____________________________________________________________________________________________
}}


| |= See also
}}


<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>

Revision as of 13:39, 21 June 2018

Hover & click on the images for description

Description

Description:
Return object's magazines as defined in config. Scans also turrets and pylons.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
class call BIS_fnc_magazinesEntityType
Parameters:
class: String - Object class
Return Value:
Array of strings

Examples

Example 1:
"O_MBT_04_cannon_F" call BIS_fnc_magazinesEntityType; //Returns ["20Rnd_125mm_APFSDS_T_Green","12Rnd_125mm_HEAT_T_Green","12Rnd_125mm_HE_T_Green","1000Rnd_762x51_Belt_Green","1000Rnd_762x51_Belt_Green","500Rnd_127x99_mag_Tracer_Yellow","SmokeLauncherMag"]

Additional Information

See also:
magazines

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