diff --git a/addons/screenshotMode/cfgFunctions.hpp b/addons/screenshotMode/cfgFunctions.hpp index d784df77..0df8f346 100644 --- a/addons/screenshotMode/cfgFunctions.hpp +++ b/addons/screenshotMode/cfgFunctions.hpp @@ -5,6 +5,7 @@ class CfgFunctions { file = "x\grad\addons\screenshotMode\functions"; class toggleAll {}; class toggleACENametags {}; + class toggleDuiHud {}; class toggleSTHud {}; class toggleTFAR {}; class toggleVanillaHUD {}; diff --git a/addons/screenshotMode/functions/fn_toggleAll.sqf b/addons/screenshotMode/functions/fn_toggleAll.sqf index 08c985c3..3017d55c 100644 --- a/addons/screenshotMode/functions/fn_toggleAll.sqf +++ b/addons/screenshotMode/functions/fn_toggleAll.sqf @@ -8,7 +8,8 @@ private _newState = param [0, true]; FUNC(toggleACENametags), FUNC(toggleSTHud), FUNC(toggleTFAR), - FUNC(toggleVanillaHUD) + FUNC(toggleVanillaHUD), + FUNC(toggleDuiHud) ]; false; diff --git a/addons/screenshotMode/functions/fn_toggleDuiHud.sqf b/addons/screenshotMode/functions/fn_toggleDuiHud.sqf new file mode 100644 index 00000000..e8397d8c --- /dev/null +++ b/addons/screenshotMode/functions/fn_toggleDuiHud.sqf @@ -0,0 +1,4 @@ +params ["_stateChange"]; + +diwako_dui_main_toggled_off = !_stateChange; +