Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-24-2007, 02:31 PM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
GUI Issue

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);

Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:04 PM.


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