Arma 3 Scripting

Function in Weapons

BIS_fnc_magazinesEntityType

Also available as Markdown and JSON, or read the original wiki page.

Description

Return object's magazines as defined in config. Scans also turrets and pylons.

Syntax

class call BIS_fnc_magazinesEntityType

Parameters:

Returns: 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"
    ]
*/

See also

magazines