BIS fnc magazinesEntityType: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= Configs |GROUP1=") |
m (Text replacement - "\[\[Category\:Function Group\: Configs(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
||
Line 36: | Line 36: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:magazinesEntityType}}]] | [[Category:Functions|{{uc:magazinesEntityType}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:magazinesEntityType}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:magazinesEntityType}}]] |
Revision as of 12:36, 12 October 2020
Description
- Description:
- Return object's magazines as defined in config. Scans also turrets and pylons.
- Execution:
- call
- Groups:
- Configs
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