[UT99] Notify widnow

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Raven

Member
Jan 17, 2004
147
0
16
40
turniej.unreal.pl
I wont to open Uwindow directly in game. I write this Code:

Code:
class RPGPlayer extends NaliPlayer;

exec function ShowSkillBrowser()
{
	local GameReplicationInfo GRI;
	local UWindowRootWindow Root;
        local WindowConsole Con;
        local bool bPause;

/*        if(bPause){
            bPause=false;
            UMenuRootWindow(Root).MenuBar.ShowWindow();
        } else if(!bPause) {
            bPause=true;
            UMenuRootWindow(Root).MenuBar.HideWindow();
        }
        Level.Game.SetPause(bPause, self);*/
        if (!WindowConsole(player.console).bcreatedroot)
              WindowConsole(player.console).CreateRootWindow(none);
        WindowConsole(Player.Console).bQuickKeyEnable = true;
        WindowConsole(Player.Console).LaunchUWindow();
        WindowConsole(Player.Console).Root.CreateWindow(class'RPGEngine.SkillsFW', 100, 100, 100, 100);
/*	foreach AllActors(class'GameReplicationInfo', GRI)
	{
		UMenuRootWindow(Root).MenuBar.HideWindow();
         	Con = WindowConsole(Player.Console);
		Con.LaunchUWindow();
		Con.Root.CreateWindow(class<UWindowWindow>(DynamicLoadObject("RPGEngine.SkillBrowser", class'Class')), 100, 100, 100, 100);
//                Con.Root.CreateWindow(class<UWindowWindow>(DynamicLoadObject("UTMenu.DemoStoryWindow", class'Class')), 100, 100, 100, 100);
	}*/

}

class SkillsFW is normal FramedWindow. It works, but, to see opened window I have to enter UT main menu. So anyone of You know, how Can I fix this?
 
Last edited: