diff --git a/functions/Zeus/fn_initZeus.sqf b/functions/Zeus/fn_initZeus.sqf deleted file mode 100644 index 5ae0924..0000000 --- a/functions/Zeus/fn_initZeus.sqf +++ /dev/null @@ -1,35 +0,0 @@ -/* - Author: Djeeberjr - - Description: - Init a zeus player. - - Parameter(s): - 0: OBJECT - zeus unit -*/ -params ["_unit"]; - -//Command can only be executed on the server. -if(!isServer)exitWith{}; - -//Check if unit is alredy a curator -if(_unit call BIS_fnc_isCurator)exitWith{}; - -//Create Zeus module if not created yet. -if(isNil "DLib_zeusModule")then{ - _sideLogic = createCenter sidelogic; - _group_logic = createGroup _sideLogic; - DLib_zeusModule = _group_logic createUnit ["ModuleCurator_F", [0,0,0], [],0, "NONE"]; - DLib_zeusModule addCuratorEditableObjects [allUnits,true]; - publicVariable "DLib_zeusModule"; -}; - -_unit assignCurator DLib_zeusModule; - -//Add vision modes -[_unit,[-1,-2,0,1,2,3,4,5,6,7]] call BIS_fnc_setCuratorVisionModes; - -//godmode -_unit allowDamage false; - - diff --git a/includes/CfgFunctions.hpp b/includes/CfgFunctions.hpp index 39df14a..b2662c1 100644 --- a/includes/CfgFunctions.hpp +++ b/includes/CfgFunctions.hpp @@ -6,7 +6,6 @@ class DLib{ #include "PlaneJump\CfgFunctions.hpp" #include "Radio\CfgFunctions.hpp" #include "Util\CfgFunctions.hpp" - #include "Zeus\CfgFunctions.hpp" #include "Other\CfgFunctions.hpp" #include "Spectrum\CfgFunctions.hpp" } \ No newline at end of file diff --git a/includes/Zeus/CfgFunctions.hpp b/includes/Zeus/CfgFunctions.hpp deleted file mode 100644 index c59f3dc..0000000 --- a/includes/Zeus/CfgFunctions.hpp +++ /dev/null @@ -1,4 +0,0 @@ -class Zeus{ - file="DLib\functions\Zeus"; - class initZeus{}; -} \ No newline at end of file