mirror of
https://github.com/IT07/a3_vemf_reloaded.git
synced 2024-08-30 16:52:11 +00:00
Log tweaks
This commit is contained in:
parent
333333e9c4
commit
418bd128ba
@ -6,13 +6,18 @@
|
||||
*/
|
||||
|
||||
if (isNil "VEMFrHasStarted") then
|
||||
{
|
||||
[] spawn
|
||||
{
|
||||
VEMFrHasStarted = call compileFinal "true";
|
||||
[("Launcher"),(2),(format["/// booting VEMFr v%1 (%2) \\\", getText (configFile >> "CfgPatches" >> "a3_vemf_reloaded" >> "version"), call VEMFr_fnc_whichMod])] ExecVM ("log" call VEMFr_fnc_scriptPath);
|
||||
[("Launcher"),(2),(format["/// booting up VEMFr v%1 (%2) \\\", getText (configFile >> "CfgPatches" >> "a3_vemf_reloaded" >> "version"), call VEMFr_fnc_whichMod])] ExecVM ("log" call VEMFr_fnc_scriptPath);
|
||||
uiSleep 0.5;
|
||||
[("Launcher"),(2),(format[("Headless client support: %1"),(if (("headlessClientSupport" call VEMFr_fnc_config) isEqualTo "yes") then {"ENABLED"} else {"DISABLED"})])] ExecVM ("log" call VEMFr_fnc_scriptPath);
|
||||
uiNamespace setVariable ["VEMFrUsedLocs", []];
|
||||
uiNamespace setVariable ["VEMFrHcLoad", [[],[]]];
|
||||
|
||||
if (("overridesToRPT" call VEMFr_fnc_config) isEqualTo "yes") then { [] ExecVM ("overrides" call VEMFr_fnc_scriptPath) };
|
||||
uiSleep 1;
|
||||
if (("overridesToRPT" call VEMFr_fnc_config) isEqualTo "yes") then { _h = ExecVM ("overrides" call VEMFr_fnc_scriptPath); waitUntil { if (scriptDone _h) then {true} else {uiSleep 0.5; false} } };
|
||||
|
||||
{
|
||||
_h = [] ExecVM format["a3_vemf_reloaded\sqf\%1.sqf", _x];
|
||||
@ -20,4 +25,5 @@ if (isNil "VEMFrHasStarted") then
|
||||
} forEach [("checkClasses"),("missionTimer"),("REMOTEguard"),("spawnStaticAI")];
|
||||
|
||||
if ((call VEMFr_fnc_whichMod) isEqualTo "Epoch") then { west setFriend [independent, 0]; independent setFriend [west, 0] };
|
||||
} else { [("Launcher"),(0),(format["a3_vemf_reloaded FAILED to launch! VEMFrHasStarted (%1) is already defined!", VEMFrHasStarted])] ExecVM ("log" call VEMFr_fnc_scriptPath) };
|
||||
};
|
||||
} else { [("Launcher"),(0),(format[("a3_vemf_reloaded FAILED to launch! VEMFrHasStarted (%1) is already defined!"),(VEMFrHasStarted)])] ExecVM ("log" call VEMFr_fnc_scriptPath) };
|
||||
|
Loading…
Reference in New Issue
Block a user