Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   making cool txt (https://forums.graalonline.com/forums/showthread.php?t=62089)

SyLaTAC 11-05-2005 07:31 PM

making cool txt
 
ok in a message i cant figure out how to change the color of the text or the text size can someone point me in the right direction?

Riot 11-05-2005 07:46 PM

Quote:

Originally Posted by newfeatures2002.txt
...
- new script commands showtext and showtext2 for
displaying text (instead of doing showimg 1,@@@ things):

showtext index,x,y,font,style,text;
showtext2 index,x,y,z,font,style,text;

It works like showimg, but you are displaying a text
on the specified position. The style is a string with
the letters b (bold),i (italic),r (right-aligned),
u (underscore), s (strikeout), c (centered).

For showtext there exist following modifier commands:
changeimgcolors index,red,green,blue,1;
- changes the colors, red/green/blue must be values between 0 and 1
changeimgzoom index,zoomfactor;
- makes the text bigger/smaller, by default a text is 24 pixels high
changeimgvis index,layer;
- tells graal where to display the text: 0 - under players,
1 - same layer liker players, 2 - over players (default),
4 - on the status bar, specified coordinates will work
as screen coordinates instead of world coordinates
...

Reading is good.

SyLaTAC 11-05-2005 08:16 PM

thanks dude


All times are GMT +2. The time now is 02:34 PM.

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