mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
parent
3f00da7365
commit
ade87adf46
@ -1,4 +1,3 @@
|
||||
|
||||
class Extended_PreStart_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_preStart));
|
||||
@ -11,7 +10,6 @@ class Extended_PreInit_EventHandlers {
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
class Extended_PostInit_EventHandlers {
|
||||
class _ACE_modules { // using a _ so it is the first postInit to be executed
|
||||
init = QUOTE(call COMPILE_FILE(XEH_postInit));
|
||||
|
@ -1,2 +1 @@
|
||||
|
||||
PREP(moduleInit);
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
#include "script_component.hpp"
|
||||
|
||||
[QEGVAR(common,initSettingsFromModules), {
|
||||
@ -10,7 +9,7 @@
|
||||
[_x] call {
|
||||
params ["_logic"];
|
||||
private _logicType = typeOf _logic;
|
||||
_logic hideobject true;
|
||||
_logic hideObject true;
|
||||
|
||||
if (_logic getVariable [QGVAR(initalized), false]) exitWith {};
|
||||
private _config = (configFile >> "CfgVehicles" >> _logicType);
|
||||
@ -18,7 +17,7 @@
|
||||
|
||||
private _isGlobal = getNumber (_config >> "isGlobal") > 0;
|
||||
private _isDisposable = getNumber (_config >> "isDisposable") > 0;
|
||||
private _isPersistent = getNumber (_config >> "isPersistent") > 0 || getnumber (_config >> "isGlobal") > 1;
|
||||
private _isPersistent = getNumber (_config >> "isPersistent") > 0 || getNumber (_config >> "isGlobal") > 1;
|
||||
private _isSingular = getNumber (_config >> "isSingular") > 0;
|
||||
private _function = getText (_config >> "function");
|
||||
if (isNil _function) then {
|
||||
|
Loading…
Reference in New Issue
Block a user