ACE3/addons/medical_damage/XEH_preInit.sqf

24 lines
506 B
Plaintext
Raw Permalink 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;
#include "initSettings.inc.sqf"
2019-03-24 05:37:39 +00:00
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;