ACE3/addons/overpressure/CfgEventHandlers.hpp

47 lines
1.8 KiB
C++
Raw Normal View History

2015-01-14 04:15:58 +00:00
class Extended_PreInit_EventHandlers {
class ADDON {
2015-02-15 14:55:00 +00:00
init = QUOTE(call COMPILE_FILE(XEH_preInit));
2015-01-14 04:15:58 +00:00
};
};
class Extended_PostInit_EventHandlers {
class ADDON {
2015-02-15 14:55:00 +00:00
init = QUOTE(call COMPILE_FILE(XEH_postInit));
};
};
class Extended_FiredBIS_EventHandlers {
2015-01-14 04:15:58 +00:00
class CAManBase {
2015-02-15 14:48:40 +00:00
class ADDON {
2015-02-15 18:56:37 +00:00
firedBIS = QUOTE(if (local (_this select 0) && {getNumber (configfile >> 'CfgWeapons' >> _this select 1 >> QUOTE(QGVAR(Damage)) > 0}) then {_this call DFUNC(fireLauncherBackblast)});
2015-01-14 04:15:58 +00:00
};
};
class Tank {
class ADDON {
2015-02-15 18:56:37 +00:00
firedBIS = QUOTE(if (local (_this select 0) && {getNumber (configfile >> 'CfgWeapons' >> _this select 1 >> QUOTE(QGVAR(Damage))) > 0}) then {_this call DFUNC(fireOverpressureZone)});
};
};
class Car {
class ADDON {
2015-02-15 18:56:37 +00:00
firedBIS = QUOTE(if (local (_this select 0) && {getNumber (configfile >> 'CfgWeapons' >> _this select 1 >> QUOTE(QGVAR(Damage))) > 0}) then {_this call DFUNC(fireOverpressureZone)});
};
};
class Helicopter {
class ADDON {
2015-02-15 18:56:37 +00:00
firedBIS = QUOTE(if (local (_this select 0) && {getNumber (configfile >> 'CfgWeapons' >> _this select 1 >> QUOTE(QGVAR(Damage))) > 0}) then {_this call DFUNC(fireOverpressureZone)});
};
};
class Plane {
class ADDON {
2015-02-15 18:56:37 +00:00
firedBIS = QUOTE(if (local (_this select 0) && {getNumber (configfile >> 'CfgWeapons' >> _this select 1 >> QUOTE(QGVAR(Damage))) > 0}) then {_this call DFUNC(fireOverpressureZone)});
};
};
class Ship_F {
2015-02-15 14:48:40 +00:00
class ADDON {
2015-02-15 18:56:37 +00:00
firedBIS = QUOTE(if (local (_this select 0) && {getNumber (configfile >> 'CfgWeapons' >> _this select 1 >> QUOTE(QGVAR(Damage))) > 0}) then {_this call DFUNC(fireOverpressureZone)});
2015-01-14 04:15:58 +00:00
};
};
};