mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
415d2f685c
FUNC -> LINKFUNC
25 lines
658 B
Plaintext
25 lines
658 B
Plaintext
#include "script_component.hpp"
|
|
|
|
ADDON = false;
|
|
|
|
PREP_RECOMPILE_START;
|
|
#include "XEH_PREP.hpp"
|
|
PREP_RECOMPILE_END;
|
|
|
|
if (isServer) then {
|
|
[QGVAR(zeusUnitAssigned), LINKFUNC(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", LINKFUNC(addObjectToCurator), true, [], true] call CBA_fnc_addClassEventHandler;
|
|
};
|
|
}] call CBA_fnc_addEventHandler;
|
|
};
|
|
|
|
GVAR(GlobalSkillAI) = [0.5,0.5,0.5,0.5,true,true];
|
|
|
|
#include "initSettings.inc.sqf"
|
|
|
|
ADDON = true;
|