2015-02-03 02:04:50 +00:00
|
|
|
class Extended_PreInit_EventHandlers {
|
|
|
|
class ADDON {
|
|
|
|
init = QUOTE(call COMPILE_FILE(XEH_preInit));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Extended_PostInit_EventHandlers {
|
|
|
|
class ADDON {
|
2015-02-06 09:38:27 +00:00
|
|
|
init = QUOTE(call COMPILE_FILE(XEH_postInit));
|
2015-02-03 02:04:50 +00:00
|
|
|
};
|
|
|
|
};
|
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));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|