ACE3/addons/medical_damage/XEH_preInit.sqf

22 lines
496 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
ADDON = false;
2017-03-18 19:03:30 +00:00
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
2017-03-18 19:03:30 +00:00
PREP_RECOMPILE_END;
2019-03-24 05:37:39 +00:00
#include "initSettings.sqf"
call FUNC(parseConfigForInjuries);
addMissionEventHandler ["Loaded",{
INFO("Mission Loaded - Reloading medical configs for extension");
// Reload configs into extension (handle full game restart)
call FUNC(parseConfigForInjuries);
}];
[QEGVAR(medical,woundReceived), LINKFUNC(woundReceived)] call CBA_fnc_addEventHandler;
ADDON = true;