2016-02-22 14:20:36 +00:00
|
|
|
|
|
|
|
class Extended_PreStart_EventHandlers {
|
|
|
|
class ADDON {
|
|
|
|
init = QUOTE(call COMPILE_FILE(XEH_preStart));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-01-16 01:25:41 +00:00
|
|
|
class Extended_PreInit_EventHandlers {
|
|
|
|
class ADDON {
|
|
|
|
init = QUOTE(call COMPILE_FILE(XEH_preInit));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-01-18 20:05:32 +00:00
|
|
|
class Extended_PostInit_EventHandlers {
|
|
|
|
class ADDON {
|
2019-02-14 18:43:02 +00:00
|
|
|
init = QUOTE(call COMPILE_FILE(XEH_postInit));
|
2015-01-18 20:05:32 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-01-16 01:25:41 +00:00
|
|
|
class Extended_Take_EventHandlers {
|
|
|
|
class CAManBase {
|
|
|
|
class ACE_AmmoIndicatorReload {
|
2020-06-13 20:54:06 +00:00
|
|
|
clientTake = QUOTE( \
|
|
|
|
params [ARR_3('_unit', '_container', '_item')]; \
|
|
|
|
if ( \
|
|
|
|
_unit == ACE_player \
|
|
|
|
&& {GVAR(DisplayText)} \
|
|
|
|
&& {_container in [ARR_3(uniformContainer _unit, vestContainer _unit, backpackContainer _unit)]} \
|
|
|
|
&& {_item == currentMagazine _unit} \
|
|
|
|
) then {_unit call DFUNC(displayAmmo)}; \
|
|
|
|
);
|
2015-01-16 01:25:41 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|