Jump to content
winse

How to hide the chatbox?

Recommended Posts

Hello folks.

 

Recently I was working on a full-screen dialog, and faced the issue: ingame chatbox overlaps some parts of the dialog and makes it hard to use some features.

 

I wonder if there is a way to detect the chatbox control with any scripting command like  allDisplays / allControls / findDisplay / displayCtrl / uiNamespace getVariable "IGUI_Displays"?

 

Currently, for the sake of testing I tried the following code:

{{_x ctrlShow false} forEach allControls _x} forEach allDisplays
or
{{_x ctrlShow false} forEach allControls _x} forEach (uiNamespace getVariable "IGUI_Displays")

And as a result, I get everything hidden on screen, except the chatbox.

 

Maybe someone knows a working way to hide it?

Share this post


Link to post
Share on other sites

Hmmm... guess you are looking a wrong way. Have you tried showChat?

Share this post


Link to post
Share on other sites

Thank you, that's exactly what I needed!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×