2016-02-21 21:16:12 +00:00
|
|
|
|
2016-02-22 14:20:36 +00:00
|
|
|
class Extended_PreStart_EventHandlers {
|
|
|
|
class ADDON {
|
2021-09-04 00:08:34 +00:00
|
|
|
init = QUOTE(call COMPILE_SCRIPT(XEH_preStart));
|
2016-02-22 14:20:36 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-02-03 02:04:50 +00:00
|
|
|
class Extended_PreInit_EventHandlers {
|
|
|
|
class ADDON {
|
2021-09-04 00:08:34 +00:00
|
|
|
init = QUOTE(call COMPILE_SCRIPT(XEH_preInit));
|
2015-02-03 02:04:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Extended_PostInit_EventHandlers {
|
|
|
|
class ADDON {
|
2021-09-04 00:08:34 +00:00
|
|
|
init = QUOTE(call COMPILE_SCRIPT(XEH_postInit));
|
2015-02-03 02:04:50 +00:00
|
|
|
};
|
|
|
|
};
|
2016-02-21 21:16:12 +00:00
|
|
|
|
|
|
|
class Extended_DisplayUnload_EventHandlers {
|
|
|
|
class RscDisplayCurator {
|
|
|
|
ADDON = QUOTE(call FUNC(handleZeusDisplayChanged));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-02-17 01:20:55 +00:00
|
|
|
//release escorted captive when entering a vehicle
|
|
|
|
class Extended_GetIn_EventHandlers {
|
|
|
|
class All {
|
|
|
|
class GVAR(AutoDetachCaptive) {
|
|
|
|
getIn = QUOTE(_this call FUNC(handleGetIn));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-02-03 02:04:50 +00:00
|
|
|
//reset captive animation after leaving vehicle
|
|
|
|
class Extended_GetOut_EventHandlers {
|
|
|
|
class All {
|
|
|
|
class GVAR(AutoDetachCaptive) {
|
2015-02-03 06:42:34 +00:00
|
|
|
getOut = QUOTE(_this call FUNC(handleGetOut));
|
2015-02-03 02:04:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
//mission start
|
|
|
|
class Extended_InitPost_EventHandlers {
|
|
|
|
class CAManBase {
|
|
|
|
class GVAR(InitPost) {
|
2015-02-04 06:35:51 +00:00
|
|
|
init = QUOTE(_this call FUNC(handleUnitInitPost));
|
2015-02-03 02:04:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-03-26 05:53:02 +00:00
|
|
|
//make sure captiveNum is reset on respawn
|
|
|
|
class Extended_Respawn_EventHandlers {
|
|
|
|
class CAManBase {
|
|
|
|
class ADDON {
|
|
|
|
respawn = QUOTE(_this call FUNC(handleRespawn));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-06-19 22:17:49 +00:00
|
|
|
|
|
|
|
class Extended_Local_EventHandlers {
|
|
|
|
class CAManBase {
|
|
|
|
class ADDON {
|
|
|
|
local = QUOTE(call FUNC(handleLocal));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2017-09-27 20:41:05 +00:00
|
|
|
|
|
|
|
class Extended_Killed_EventHandlers {
|
|
|
|
class CAManBase {
|
|
|
|
class ADDON {
|
|
|
|
killed = QUOTE(_this call FUNC(handleKilled));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|