View Single Post
  #6  
Unread 06-17-2005, 08:25 PM
dc_roenfanz's Avatar
dc_roenfanz dc_roenfanz is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Unkown
Posts: 588
Default

Quote:
Originally Posted by Kamintar
I never doubted it would work, but I would like a little more explanation on how to go about adding the button to the window works out. I have no idea how to do this. Keep in mind, this is the first time I've actually tried adding this.

I added a button the window (When in UIBuilder, it says "New Button" and I edit it and add the property with IsCancelButton="true"), but when I try to load it, it crashes the game upon beginning to load the UI. It doesn't get past the character select screen.

Please elaborate.
You have bags that you DONT want to close on escape, correct?
I thought that IsCancelButton=true meant close on esc, and IsCancelButton=false meant it didnt, I could have it backwards.

Also, I dont think that object names function correctly with spaces.
And the default name for closebuttons is WC_CloseButton IIRC (not lookin at script atm) I dont know if that helps at all
__________________
Reply With Quote