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 12-07-2007, 12:06 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Polygons in GUIs

Okay, I have this inside of a GuiScrollCtrl. For some reason it will only show a part of it, and then it won't show any more. See the screenshot.

PHP Code:
new GuiShowImgCtrl"TilesTab_S" )
    {
      
image "block.png";
      
polygon = { 00300030010001000};
      
      
red 1;
      
green 0;
      
blue 0;
    } 
Also, sorry about the screenshot ... The owner of the server doesn't like me to make screenshots.
Attached Thumbnails
Click image for larger version

Name:	graal_1196978421.png
Views:	191
Size:	81.9 KB
ID:	43447  
__________________
Reply With Quote
  #2  
Old 12-07-2007, 11:08 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
*cough*
__________________
Reply With Quote
  #3  
Old 12-07-2007, 11:40 PM
Novo Novo is offline
[TServerDeveloper]
Join Date: Jun 2006
Posts: 448
Novo will become famous soon enough
:: sigh :: The picture is utterly disgusting. You didn't provide any code we could verify... And you supplied minimal information.

My GUESS is... The Scroll-GUI is only 100-100, so the box poly isn't showing beyond the borders of the GUI itself.
Reply With Quote
  #4  
Old 12-08-2007, 01:07 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Gui-controls are of size 64x64 by default, that's why it's not showing more. You need to set the width and height of the control.
Reply With Quote
  #5  
Old 12-08-2007, 01:38 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Novo View Post
:: sigh :: The picture is utterly disgusting. You didn't provide any code we could verify... And you supplied minimal information.

My GUESS is... The Scroll-GUI is only 100-100, so the box poly isn't showing beyond the borders of the GUI itself.
I explained the picture, and I did supply code. And information.

I'll try that Stefan.
__________________
Reply With Quote
  #6  
Old 12-08-2007, 03:48 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Stefan View Post
Gui-controls are of size 64x64 by default, that's why it's not showing more. You need to set the width and height of the control.
For some reason, it worked this time. When I was trying it before it wasn't working at all. Thanks for the help.
__________________
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 05:19 PM.


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