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 {
|
2024-03-28 18:57:23 +00:00
|
|
|
[QGVAR(zeusUnitAssigned), LINKFUNC(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 {
|
2024-03-28 18:57:23 +00:00
|
|
|
["AllVehicles", "InitPost", LINKFUNC(addObjectToCurator), true, [], true] call CBA_fnc_addClassEventHandler;
|
2021-08-16 11:01:50 +00:00
|
|
|
};
|
|
|
|
}] 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];
|
|
|
|
|
2023-12-07 03:20:47 +00:00
|
|
|
#include "initSettings.inc.sqf"
|
2018-11-10 20:33:20 +00:00
|
|
|
|
2015-05-09 19:24:39 +00:00
|
|
|
ADDON = true;
|