Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   NPC Text Color. (https://forums.graalonline.com/forums/showthread.php?t=18628)

T3CK 12-10-2001 05:58 AM

NPC Text Color.
 
I have seen it many times, but I can't figure it out. How do you change the color of an NPCs text? I have tried setcoloreffect but nothing happens. Help please?

Kumada 12-10-2001 07:00 AM

newdeatures2001.txt

T3CK 12-10-2001 07:04 AM

ok, I tried looking through it, but nothing useful

Kumada 12-10-2001 07:04 AM

changeimgcolors
then push test for the like stuffs
changeimgcolors 1,0,0,.99???

T3CK 12-10-2001 09:00 AM

Nothing.
AN NPC WITH ON IMAGE, HOW DO YOU CHANGE IT'S TEXT COLOR!

Kumada 12-10-2001 09:03 AM

changeimgcolors 1,1,0,0,0;
u are using showimg for text right

entravial 12-11-2001 03:42 AM

~AlphaFlame~

... use a showimg with changeimgcolors instead of setcharprop/message...

Falcor 12-11-2001 03:50 AM

Sample
NPC Code:

if(playerenters) {
showimg 0,@Tempus Sans ITC@c@Hello World!,playerx,playery;
changeimgcolors 0,1,0,0,1;
changeimgzoom 0,2;
}



This will show the text Hello World! At the player's X and Y

btedji 12-11-2001 04:17 AM

change the npcs ap level

aesquivel 12-11-2001 09:53 PM

Quote:

Originally posted by btedji
change the npcs ap level
what???

Kumada 12-11-2001 09:54 PM

Quote:

Originally posted by aesquivel


what???

Stop spamming *****

van_01 12-11-2001 10:29 PM

your spamming by telling him to stop spamming though.....

btedji 12-12-2001 05:16 AM

npcs[0].ap=50;

can be from 0-100

color changes depending on the number dont ask my what colors for what numbers just experiment

entravial 12-13-2001 07:15 AM

~AlphaFlame~

*psst* Btedji... he's talking about what's over the NPCs head, not the NPCs name...

btedji 12-13-2001 08:24 PM

Quote:

Originally posted by entravial
~AlphaFlame~

*psst* Btedji... he's talking about what's over the NPCs head, not the NPCs name...

is he....

Xaviar 12-14-2001 12:17 AM

Quote:

Originally posted by btedji
npcs[0].ap=50;

can be from 0-100

color changes depending on the number dont ask my what colors for what numbers just experiment

or just ap = 50;

;)


All times are GMT +2. The time now is 07:34 AM.

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