I'm new to the GUI functions in Graal and I'm certain I'm overlooking something simple with this error, but here goes.
I am writing a Class NPC to implement the flier script Ziplock had requested be made awhile back, if anyone remembers that.
Right now, I have the window being created in Clientside in the CLASS.
However, when if I hit the red X, the GUI window disappears and walking into the flier image again will not open the GUI window back up.
Do I need to implement onCloseQuery to get this to work desirably?
PHP Code:
//#CLIENTSIDE
function onPlayerTouchsMe()
{
FlierWindow = new GuiWindowCtrl("Flier_" @ this.number);
with (FlierWindow)
{
profile = "GuiBlueWindowProfile";
position = "30 30";
extent = "300 300";
canMove = true;
canResize = false;
canClose = true;
tile = true;
text = "Flier by " @ this.owner.account;
}
GraalControl.addControl(FlierWindow);
}