ACE3/addons/common/CfgEventHandlers.hpp

62 lines
1.7 KiB
C++
Raw Normal View History

2015-01-12 21:34:01 +00:00
2015-01-11 18:06:21 +00:00
class Extended_PreInit_EventHandlers {
2015-01-12 21:34:01 +00:00
class ADDON {
2015-01-14 03:02:48 +00:00
init = QUOTE(call COMPILE_FILE(XEH_preInit));
serverInit = QUOTE(call COMPILE_FILE(scripts\readParameters));
2015-01-12 21:34:01 +00:00
disableModuload = true;
};
2015-01-11 18:06:21 +00:00
};
class Extended_PostInit_EventHandlers {
2015-01-12 21:34:01 +00:00
class ADDON {
2015-01-14 03:02:48 +00:00
init = QUOTE(call COMPILE_FILE(XEH_postInit));
2015-01-12 21:34:01 +00:00
disableModuload = true;
};
2015-01-11 18:06:21 +00:00
};
class Extended_InitPost_EventHandlers {
2015-01-12 21:34:01 +00:00
class All {
class GVAR(executePersistent) {
2015-01-14 03:02:48 +00:00
init = QUOTE([_this select 0] call FUNC(executePersistent));
2015-01-12 21:34:01 +00:00
};
2015-01-11 18:06:21 +00:00
};
2015-01-12 21:34:01 +00:00
class CAManBase {
class GVAR(setName) {
2015-01-14 03:02:48 +00:00
init = QUOTE(if (local (_this select 0)) then {_this call FUNC(setName)};);
2015-01-12 21:34:01 +00:00
};
class GVAR(forceWalk) {
2015-01-14 03:02:48 +00:00
init = QUOTE(if (local (_this select 0)) then {_this call FUNC(applyForceWalkStatus);};);
2015-01-12 21:34:01 +00:00
};
2015-01-11 18:06:21 +00:00
};
};
class Extended_Respawn_EventHandlers {
2015-01-12 21:34:01 +00:00
class All {
class GVAR(restoreVariablesJIP) {
2015-01-14 03:02:48 +00:00
respawn = QUOTE(_this call FUNC(restoreVariablesJIP));
2015-01-12 21:34:01 +00:00
};
class GVAR(setName) {
2015-01-14 03:02:48 +00:00
respawn = QUOTE(_this call FUNC(setName));
2015-01-12 21:34:01 +00:00
};
2015-01-16 23:21:47 +00:00
class GVAR(RESETDefaults) {
respawn = QUOTE(_this call FUNC(resetAllDefaults_F));
};
2015-01-11 18:06:21 +00:00
};
2015-01-12 21:34:01 +00:00
};
2015-01-20 17:57:53 +00:00
class Extended_Killed_EventHandlers {
class CAManBase {
class GVAR(dropObject) {
Killed = QUOTE(if (local (_this select 0)) then {[ARR_2(_this select 0, ObjNull)] call FUNC(carryObj)};);
};
};
};
class Extended_GetIn_EventHandlers {
class CAManBase {
class GVAR(dropObject) {
GetIn = QUOTE(if (local (_this select 0)) then {[ARR_2(_this select 0, ObjNull)] call FUNC(carryObj)};);
};
};
};