From Bohemia Interactive Community
Hover & click on the images for description
Description
- Description:
- Gets all compatible magazines for selected weapons. Function looks both for magazines listed in magazines array and compatible magazineWells.
- Execution:
- call
- Groups:
- Weapons
Syntax
- Syntax:
- [weapon, returnHidden] call BIS_fnc_compatibleMagazines
- Parameters:
- weapon: String - weapon's classname
- returnHidden: Boolean - (Optional, default false) true to also return magazines with scope 1
- Return Value:
- Array - Array of magazine classes
Examples
- Example 1:
Additional Information
- See also:
- currentMagazine currentWeapon
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
- PierreMGI - c
- Posted on Sep 01, 2020 - 18:59 (UTC)
-
This function returns all magazines in lower case.
Example: