Main menu to run in windowed mode
ownos
Join Date: 2010-11-21 Member: 75124Members
<div class="IPBDescription">As in LoL</div>For classic server browsing, usually this isn't a pest. But when waiting for a gathering game, this could definitely lighten the wait, since we would be able to do other stuff than stare at a timer.
When a game is found, the window could make a sound and grab focus / blink in the taskbar or something.
When a game is found, the window could make a sound and grab focus / blink in the taskbar or something.
Comments
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->if not Client.GetIsWindowFocused() then //might not even be necessary
Client.SetOptionString ( kWindowModeOptionsKey, "fullscreen" )
Client.ReloadGraphicsOptions()
end<!--c2--></div><!--ec2-->
You may have to set the window mode to something it isn't first in order for the reload command to activate. You would just need to paste this into the part of the code that handles when a game is found.