Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Making custom Gui text Profiles (https://forums.graalonline.com/forums/showthread.php?t=134260703)

MrOmega 10-03-2010 03:56 AM

Making custom Gui text Profiles
 
Quick question, when making a custom profile how to change the color of text when it's highlighted? I've tried these, but to no avail.

fillcolorhl, fontcolorhl,fontcolorsel

I've tried using the 0-1 method and 0-255, I'm not sure which to use as documentation does not specify.

Switch 10-03-2010 06:25 PM

fontcolorhl - {red,green,blue,alpha} - font color when highlighted
Pretty sure GUIs use 0-255.

MrOmega 10-04-2010 02:41 AM

Yea, thanks! Didn't know it needed alpha, didn't see it on the wiki. xP

Deas_Voice 10-04-2010 10:54 AM

Quote:

Originally Posted by MrOmega (Post 1603988)
Yea, thanks! Didn't know it needed alpha, didn't see it on the wiki. xP

time to update that page you found then ;)

cyan3 10-04-2010 12:32 PM

Quote:

Originally Posted by Deas_Voice (Post 1604059)
time to update that page you found then ;)

What Switch posted was most likely from the wiki page.

PHP Code:

// from wiki page
fontcolorhl - {red,green,blue,alpha} - font color when highlighted 


MrOmega 10-04-2010 03:30 PM

I didn't notice it having the alpha, which explains why my text was going screwy. :P


All times are GMT +2. The time now is 05:55 AM.

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