mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #4246 from acemod/isBeltForNewWeaps
Add ACE_isBelt for DLC/Expansion magazines
This commit is contained in:
commit
b445a8460e
@ -1,11 +1,21 @@
|
||||
class CfgMagazines {
|
||||
class CA_Magazine;
|
||||
class 150Rnd_762x51_Box : CA_Magazine {
|
||||
class 150Rnd_762x51_Box: CA_Magazine { // Mag for Negev (LMG_Zafir) - 150Rnd_762x54_Box inherits from this
|
||||
ACE_isBelt = 1;
|
||||
};
|
||||
|
||||
class 100Rnd_65x39_caseless_mag;
|
||||
class 200Rnd_65x39_cased_Box : 100Rnd_65x39_caseless_mag {
|
||||
class 200Rnd_65x39_cased_Box: 100Rnd_65x39_caseless_mag { // Mag for Stoner (LMG_Mk200)
|
||||
ACE_isBelt = 1;
|
||||
};
|
||||
|
||||
class 150Rnd_93x64_Mag: CA_Magazine { // Mag for HK121 (MMG_01) [DLC Opfor Heavy Gunner]
|
||||
ACE_isBelt = 1;
|
||||
};
|
||||
class 130Rnd_338_Mag: CA_Magazine { // Mag for LWMMG (MMG_02) [DLC Blufor Heavy Gunner]
|
||||
ACE_isBelt = 1;
|
||||
};
|
||||
class 200Rnd_556x45_Box_F: CA_Magazine { // Mag for M249 SAW (LMG_03) [Tanoa]
|
||||
ACE_isBelt = 1;
|
||||
};
|
||||
};
|
||||
|
@ -8,6 +8,11 @@
|
||||
*
|
||||
* Return Value:
|
||||
* Can link belt<BOOL>
|
||||
*
|
||||
* Example:
|
||||
* [player, cursorObject] call ace_reload_fnc_canLinkBelt;
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user