Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   GUI Dialogs (https://forums.graalonline.com/forums/showthread.php?t=134260274)

Gamerkid7 08-21-2010 11:03 AM

GUI Dialogs
 
Hello,

I am trying to figure out where dialogs are stored on GUI controls. My main reason for requiring this is because I am looking to change the profile of the in-game playerlist profile and the F5 window. Each appear to be dialogs, as no other windows can gain focus while they're up.

I have looked through the controls of GUIContainer and GraalControl, neither of which seemed to contain the dialogs. I know of the pushDialog and popDialog functions and I'm wondering if dialog windows are held in a separate list/stack than the controls list and is accessible.

Thanks in advance

Mark Sir Link 08-21-2010 09:06 PM

I think f5 is using pushdialog on a transparent GUI control, then drawing the next window on top.

If you try using pushdialog on a window you can minimize, with it minimized you still can't select any other controls besides the window.

Gamerkid7 08-22-2010 06:45 AM

I figured that was how they were pushing the dialog, but I still can't seem to find it in any of the controls lists.

Here's the list of controls of GUIContainer:
GraalControl (GuiGraalCtrl)
MainMenuGui2D (GuiControl)
DownloadProgress_Window (GuiWindowCtrl)
ShopGlobal_Window (GuiWindowCtrl)
ShopGlobal_MessageBox (GuiWindowCtrl)
ShopGlobal_TradeQuery (GuiWindowCtrl)
PaymentOptions_Window (GuiWindowCtrl)
ShopGlobal_AccountWindow (GuiWindowCtrl)
Serverlist_ProtectQuery_Window (GuiWindowCtrl)
Serverlist_TaskBar (GuiTaskbar)
Serverlist_Taskbar_Menu (GuiStartMenuCtrl)
F2LogWindow_Window (GuiWindowCtrl)

And GraalControl:
ChatBar (GuiTextEditCtrl)
Observer_TextBackground (GuiControl)
DownloadProgress_GameFade (GuiControl)
IRC_Test_UpdateWindow (GuiWindowCtrl)
ChatBar_ToggleTaskBarButton (GuiButtonCtrl)
StartConnectMessage (GuiWindowCtrl)
ScriptedRCWindow (GuiWindowCtrl)
Serverlist_Panel (GuiControl)

None of which seem blatantly obvious to me to contain the F5 Load Level GUI

Deas_Voice 08-22-2010 01:21 PM

i dont know if you seen Jerrets Gui Explorer Script in the Code Gallery,
but your little list over there are missing the F5 gui window, as you probably forgot to open it when you compiled that list.
anyhow, "LoadLevelWindow" is the GuiWindowCtrl name for F5.


All times are GMT +2. The time now is 05:57 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.