2015-05-09 19:24:39 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
ADDON = false;
|
|
|
|
|
2016-11-23 19:35:25 +00:00
|
|
|
PREP_RECOMPILE_START;
|
2016-02-22 14:20:36 +00:00
|
|
|
#include "XEH_PREP.hpp"
|
2016-11-23 19:35:25 +00:00
|
|
|
PREP_RECOMPILE_END;
|
2015-05-09 19:24:39 +00:00
|
|
|
|
2015-05-18 19:43:02 +00:00
|
|
|
if (isServer) then {
|
2016-05-25 00:19:50 +00:00
|
|
|
[QGVAR(zeusUnitAssigned), FUNC(handleZeusUnitAssigned)] call CBA_fnc_addEventHandler;
|
2021-08-16 11:01:50 +00:00
|
|
|
|
|
|
|
// 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
|
|
|
};
|
|
|
|
|
2016-05-16 13:55:19 +00:00
|
|
|
GVAR(GlobalSkillAI) = [0.5,0.5,0.5,0.5,true,true];
|
|
|
|
|
2018-11-10 20:33:20 +00:00
|
|
|
#include "initSettings.sqf"
|
|
|
|
|
2015-05-09 19:24:39 +00:00
|
|
|
ADDON = true;
|