Add option to toggle status icons

Vanilla commit:

44bb49e326
This commit is contained in:
ebayShopper
2017-12-04 18:14:48 -05:00
parent da7ea3bb4e
commit 5e9a7271e9
11 changed files with 68 additions and 100 deletions

View File

@@ -9,7 +9,12 @@ sched_gui = {
_initDone = _this select 0;
if ((!_initDone and !isNil 'Dayz_loginCompleted') and {(Dayz_loginCompleted)}) then {
if (toLower DZE_UI == "vanilla") then {3 cutRsc ['playerStatusGUI','PLAIN',3];} else {3 cutRsc ['playerStatusGUI_epoch','PLAIN',3];};
if (profileNamespace getVariable ["statusUI",1] == 1) then {
3 cutRsc [if (toLower DZE_UI == "vanilla") then {"playerStatusGUI"} else {"playerStatusGUI_epoch"},"PLAIN",3]; // show the whole HUD
} else {
//This can be removed after friendlies system is removed from player_updateGUI
uiNamespace setVariable ["DAYZ_GUI_display",displayNull];
};
_initDone = true;
};
//else {
@@ -20,7 +25,7 @@ sched_gui = {
dayz_surfaceNoise = _array select 1;
dayz_surfaceType = _array select 0;
call player_checkStealth;
dayz_statusArray = call player_updateGui;
call player_updateGui;
};
// move this elsewhere, it deals with the menu