Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   profile.border = 5 (https://forums.graalonline.com/forums/showthread.php?t=87394)

DustyPorViva 08-14-2009 05:42 AM

profile.border = 5
 
Quote:

Originally Posted by wiki.graal.net
border - integer (1..5):
0 - no border
1 - single-color border using bordercolor
2 - rectangle using white and bordercolorna
3 - lowered rectangle using white, fillcolor and bordercolorna
4 - raised rectangle using white, black and bordercolor
5 - bitmap border

It says 5 sets it to a bitmap border. But how exactly do I define such bitmap? Profile.bitmap changes the bitmap of the control itself... so any ideas?

Right now I'm using a scroll GUI, and the image itself has what look like borders, but setting it to 5 just makes the border invisible and does not use the borders from the image.

fowlplay4 08-14-2009 03:52 PM

I would assume it would use the border looking images on the scroll's bitmap, but I just couldn't get it to work either.

DustyPorViva 08-18-2009 08:15 PM

No one? This is kind of important :(

Inverness 08-18-2009 08:21 PM

Quote:

Originally Posted by DustyPorViva (Post 1516035)
No one? This is kind of important :(

I would suggest adding extra sprites to the control's image file and see if it uses those extra sprites for the border.

DustyPorViva 08-18-2009 08:25 PM

Quote:

Originally Posted by Inverness (Post 1516037)
I would suggest adding extra sprites to the control's image file and see if it uses those extra sprites for the border.

Eh... where would I add them though?


All times are GMT +2. The time now is 10:19 PM.

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