if IsControlOpen("ChatLog")
↑
Instead of this condition, you may want to change it to this one
↓
if Player.onlinestatus == 15 or Player.onlinestatus == 18 then
15 is cutscene,
18 is Group Pose
----------------------------------------------------------------------------------------
if IsControlOpen("Title") or IsControlOpen("CharaSelect") then
AutoHideGUI.guiHidden = nil
end
-----------------------------------------------------------------------------------------
I haven't checked it, but I think it will only work after you log in if you do this.
Minions reload on login.
It is strange that the torgs are flipped.
If you make it like this for example, you might not have a problem no matter when you attach it.
-----------------------------------------------------------------------------------------
function AutoHideGUI.Update(_, tickCount)
if not (GetGameState() == FFXIV.GAMESTATE.INGAME) then
return
end
if IsControlOpen("Title") or IsControlOpen("CharaSelect") then
AutoHideGUI.guiHidden = nil
end
if not AutoHideGUI.enabled then
return
end
if tickCount - AutoHideGUI.lastTick >= 100 then
AutoHideGUI.lastTick = tickCount
if Player.onlinestatus ~= 15 and AutoHideGUI.guiHidden or Player.onlinestatus ~= 18 and AutoHideGUI.guiHidden then
AutoHideGUI.guiHidden = false
ToggleGUI()
end
if Player.onlinestatus == 15 and not AutoHideGUI.guiHidden or Player.onlinestatus == 18 and not AutoHideGUI.guiHidden then
AutoHideGUI.guiHidden = true
ToggleGUI()
end
end
end
↑
Instead of this condition, you may want to change it to this one
↓
if Player.onlinestatus == 15 or Player.onlinestatus == 18 then
15 is cutscene,
18 is Group Pose
----------------------------------------------------------------------------------------
if IsControlOpen("Title") or IsControlOpen("CharaSelect") then
AutoHideGUI.guiHidden = nil
end
-----------------------------------------------------------------------------------------
I haven't checked it, but I think it will only work after you log in if you do this.
Minions reload on login.
It is strange that the torgs are flipped.
If you make it like this for example, you might not have a problem no matter when you attach it.
-----------------------------------------------------------------------------------------
function AutoHideGUI.Update(_, tickCount)
if not (GetGameState() == FFXIV.GAMESTATE.INGAME) then
return
end
if IsControlOpen("Title") or IsControlOpen("CharaSelect") then
AutoHideGUI.guiHidden = nil
end
if not AutoHideGUI.enabled then
return
end
if tickCount - AutoHideGUI.lastTick >= 100 then
AutoHideGUI.lastTick = tickCount
if Player.onlinestatus ~= 15 and AutoHideGUI.guiHidden or Player.onlinestatus ~= 18 and AutoHideGUI.guiHidden then
AutoHideGUI.guiHidden = false
ToggleGUI()
end
if Player.onlinestatus == 15 and not AutoHideGUI.guiHidden or Player.onlinestatus == 18 and not AutoHideGUI.guiHidden then
AutoHideGUI.guiHidden = true
ToggleGUI()
end
end
end