ACE3/addons/zeus/XEH_preInit.sqf

25 lines
646 B
Plaintext
Raw Normal View History

2015-05-09 19:24:39 +00:00
#include "script_component.hpp"
ADDON = false;
PREP_RECOMPILE_START;
2016-02-22 14:20:36 +00:00
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
2015-05-09 19:24:39 +00:00
2015-05-18 19:43:02 +00:00
if (isServer) then {
[QGVAR(zeusUnitAssigned), FUNC(handleZeusUnitAssigned)] call CBA_fnc_addEventHandler;
// Only add an InitPost EH if setting is enabled (and apply retroactively)
["CBA_settingsInitialized", {
if (GVAR(autoAddObjects)) then {
["AllVehicles", "InitPost", FUNC(addObjectToCurator), true, [], true] call CBA_fnc_addClassEventHandler;
};
}] call CBA_fnc_addEventHandler;
2015-05-18 19:43:02 +00:00
};
GVAR(GlobalSkillAI) = [0.5,0.5,0.5,0.5,true,true];
#include "initSettings.sqf"
2015-05-09 19:24:39 +00:00
ADDON = true;