Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-10-2006, 06:58 PM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
GUI Windows

Hello, how can I make it so the same window can be recreated after being closed (using the x in the corner).

For example, i have a window showing in an onWeaponFired() event if I fire the weapon, the window shows the first time. If i press the X then fire the weapon again, nothing happens.

How can I get the window to show every time?

Thanks.
__________________

Coming soon (Hopefully:P)
Reply With Quote
  #2  
Old 09-10-2006, 07:01 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by JkWhoSaysNi
Hello, how can I make it so the same window can be recreated after being closed (using the x in the corner).

For example, i have a window showing in an onWeaponFired() event if I fire the weapon, the window shows the first time. If i press the X then fire the weapon again, nothing happens.

How can I get the window to show every time?

Thanks.

In the part where the GUI is created, add:

PHP Code:
destroyOnHide true
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #3  
Old 09-10-2006, 07:11 PM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
thanks
__________________

Coming soon (Hopefully:P)
Reply With Quote
Reply


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 01:48 AM.


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