mirror of
https://github.com/IT07/a3_vemf_reloaded.git
synced 2024-08-30 16:52:11 +00:00
Fixed incorrect display of VEMFr version
This commit is contained in:
parent
371fe792b9
commit
3a6c8dd06c
@ -5,7 +5,7 @@
|
|||||||
launches VEMFr (You don't say?)
|
launches VEMFr (You don't say?)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
["Launcher", 2, format["/// STARTING v%1 \\\", getNumber (configFile >> "CfgPatches" >> "exile_vemf_reloaded" >> "version")]] spawn VEMFr_fnc_log;
|
["Launcher", 2, format["/// STARTING v%1 \\\", getText (configFile >> "CfgPatches" >> "exile_vemf_reloaded" >> "version")]] spawn VEMFr_fnc_log;
|
||||||
uiNamespace setVariable ["VEMFrUsedLocs", []];
|
uiNamespace setVariable ["VEMFrUsedLocs", []];
|
||||||
uiNamespace setVariable ["VEMFrAttackedFlags", []];
|
uiNamespace setVariable ["VEMFrAttackedFlags", []];
|
||||||
uiNamespace setVariable ["VEMFrHcLoad", []];
|
uiNamespace setVariable ["VEMFrHcLoad", []];
|
||||||
@ -15,50 +15,40 @@ uiNamespace setVariable ["VEMFrHcLoad", []];
|
|||||||
if ("overridesToRPT" call VEMFr_fnc_getSetting isEqualTo 1) then
|
if ("overridesToRPT" call VEMFr_fnc_getSetting isEqualTo 1) then
|
||||||
{
|
{
|
||||||
_root = configProperties [configFile >> "CfgVemfReloadedOverrides", "true", false];
|
_root = configProperties [configFile >> "CfgVemfReloadedOverrides", "true", false];
|
||||||
if (count _root > 0) then
|
|
||||||
{
|
{
|
||||||
|
if (isClass _x) then
|
||||||
{
|
{
|
||||||
if (isClass _x) then
|
_classLv1Name = configName _x;
|
||||||
|
_levelOne = configProperties [configFile >> "CfgVemfReloadedOverrides" >> _classLv1Name, "true", false];
|
||||||
{
|
{
|
||||||
_classLv1Name = configName _x;
|
if (isClass _x) then
|
||||||
_levelOne = configProperties [configFile >> "CfgVemfReloadedOverrides" >> _classLv1Name, "true", false];
|
|
||||||
if (count _levelOne > 0) then
|
|
||||||
{
|
{
|
||||||
|
_classLv2Name = configName _x;
|
||||||
|
_levelTwo = configProperties [configFile >> "CfgVemfReloadedOverrides" >> _classLv1Name >> _classLv2Name, "true", false];
|
||||||
{
|
{
|
||||||
if (isClass _x) then
|
|
||||||
{
|
|
||||||
_classLv2Name = configName _x;
|
|
||||||
_levelTwo = configProperties [configFile >> "CfgVemfReloadedOverrides" >> _classLv1Name >> _classLv2Name, "true", false];
|
|
||||||
if (count _levelTwo > 0) then
|
|
||||||
{
|
|
||||||
{
|
|
||||||
if not(isClass _x) then
|
|
||||||
{
|
|
||||||
["overridesToRPT", 1, format["Overriding 'CfgVemfReloaded >> %1 >> %2 >> %3'", _classLv1Name, _classLv2Name, configName _x]] spawn VEMFr_fnc_log;
|
|
||||||
};
|
|
||||||
} forEach _levelTwo;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
if not(isClass _x) then
|
if not(isClass _x) then
|
||||||
{
|
{
|
||||||
["overridesToRPT", 1, format["Overriding 'CfgVemfReloaded >> %1 >> %2", _classLv1Name, configName _x]] spawn VEMFr_fnc_log;
|
["overridesToRPT", 1, format["Overriding 'CfgVemfReloaded >> %1 >> %2 >> %3'", _classLv1Name, _classLv2Name, configName _x]] spawn VEMFr_fnc_log;
|
||||||
};
|
};
|
||||||
} forEach _levelOne;
|
} forEach _levelTwo;
|
||||||
};
|
};
|
||||||
};
|
if not(isClass _x) then
|
||||||
if not(isClass _x) then
|
{
|
||||||
{
|
["overridesToRPT", 1, format["Overriding 'CfgVemfReloaded >> %1 >> %2", _classLv1Name, configName _x]] spawn VEMFr_fnc_log;
|
||||||
["overridesToRPT", 1, format["Overriding 'CfgVemfReloaded >> %1'", configName _x]] spawn VEMFr_fnc_log;
|
};
|
||||||
};
|
} forEach _levelOne;
|
||||||
} forEach _root;
|
};
|
||||||
};
|
if not(isClass _x) then
|
||||||
|
{
|
||||||
|
["overridesToRPT", 1, format["Overriding 'CfgVemfReloaded >> %1'", configName _x]] spawn VEMFr_fnc_log;
|
||||||
|
};
|
||||||
|
} forEach _root;
|
||||||
};
|
};
|
||||||
|
|
||||||
_scripts = ["checkLoot","missionTimer","REMOTEguard","spawnStaticAI"];
|
_scripts = ["checkLoot","missionTimer","REMOTEguard","spawnStaticAI"];
|
||||||
{
|
{
|
||||||
private ["_script"];
|
private ["_script"];
|
||||||
_script = [] ExecVM format["exile_vemf_reloaded\sqf\%1.sqf", _x];
|
_script = [] ExecVM format["exile_vemf_reloaded\sqf\%1.sqf", _x];
|
||||||
waitUntil { uiSleep 0.5; scriptDone _script };
|
|
||||||
} forEach _scripts;
|
} forEach _scripts;
|
||||||
|
|
||||||
west setFriend [independent, 0];
|
west setFriend [independent, 0];
|
||||||
|
Loading…
Reference in New Issue
Block a user