mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
18 lines
686 B
C++
18 lines
686 B
C++
|
|
class Extended_PreInit_EventHandlers {
|
|
class ADDON {
|
|
init = QUOTE(call COMPILE_FILE(XEH_preInit) );
|
|
};
|
|
};
|
|
|
|
class Extended_FiredNear_EventHandlers {
|
|
class CAManBase {
|
|
class GVAR(LauncherBackblast) {
|
|
FiredNear = QUOTE( if (local (_this select 0) && {getNumber (configfile >> 'CfgWeapons' >> _this select 3 >> 'AGM_Backblast_Damage') > 0}) then {_this call FUNC(launcherBackblast)} );
|
|
};
|
|
class GVAR(TankDangerZone) {
|
|
FiredNear = QUOTE( if (local (_this select 0) && {getNumber (configfile >> 'CfgWeapons' >> _this select 3 >> 'AGM_DangerZone_Damage') > 0}) then {_this call FUNC(tankDangerZone)} );
|
|
};
|
|
};
|
|
};
|