Override logs come first now

This commit is contained in:
IT07 2016-04-15 17:30:08 +02:00
parent b63e9154d7
commit e05177a7a6

View File

@ -9,21 +9,8 @@
uiNamespace setVariable ["VEMFrUsedLocs", []];
uiNamespace setVariable ["VEMFrHcLoad", []];
_scripts = ["checkLoot","missionTimer","REMOTEguard","spawnStaticAI"];
if ("overridesToRPT" call VEMFr_fnc_getSetting isEqualTo 1) then
{
private ["_script"];
_script = [] ExecVM format["exile_vemf_reloaded\sqf\%1.sqf", _x];
waitUntil { uiSleep 0.5; scriptDone _script };
} forEach _scripts;
west setFriend [independent, 0];
independent setFriend [west, 0];
[] spawn
{
uiSleep 4;
if ("overridesToRPT" call VEMFr_fnc_getSetting isEqualTo 1) then
{
_root = configProperties [configFile >> "CfgVemfReloaded" >> "CfgSettingsOverride", "true", false];
if (count _root > 0) then
{
@ -62,5 +49,14 @@ independent setFriend [west, 0];
};
} forEach _root;
};
};
};
_scripts = ["checkLoot","missionTimer","REMOTEguard","spawnStaticAI"];
{
private ["_script"];
_script = [] ExecVM format["exile_vemf_reloaded\sqf\%1.sqf", _x];
waitUntil { uiSleep 0.5; scriptDone _script };
} forEach _scripts;
west setFriend [independent, 0];
independent setFriend [west, 0];