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 05-15-2002, 02:06 AM
Spark910 Spark910 is offline
Ex-Graal Global
Spark910's Avatar
Join Date: Oct 2001
Location: England
Posts: 10,892
Spark910 has a spectacular aura about
Colored Text -I 4Get!

For:
if playerenters) {
x=30;
y=20;
message Shop;
}

To Be In RED How Do I Do It! Also A Blue One Would Help! Is it By Using 0+1's or 0-255?

And whats script to chnage it cos i 4got!
__________________
--Spark911
Reply With Quote
  #2  
Old 05-15-2002, 02:50 AM
IceFire_TK IceFire_TK is offline
Banned
Join Date: Nov 2001
Location: O' Canada
Posts: 375
IceFire_TK is on a distinguished road
Send a message via AIM to IceFire_TK Send a message via Yahoo to IceFire_TK
try this dude
NPC Code:

if (created) {
showimg 001,@Shop,x,y;
changeimgcolors 001,RED,GREEN,BLUE,ALPHA; /Change the colors in values
}



Should be right.. Never actually use colors so i might have too double check
Reply With Quote
  #3  
Old 05-15-2002, 02:51 AM
amonrabr amonrabr is offline
Scripter
Join Date: Nov 2001
Location: Brazil
Posts: 374
amonrabr is on a distinguished road
Re: Colored Text -I 4Get!

Quote:
Originally posted by Spark910
For:
if playerenters) {
x=30;
y=20;
message Shop;
}

To Be In RED How Do I Do It! Also A Blue One Would Help! Is it By Using 0+1's or 0-255?

And whats script to chnage it cos i 4got!
if u reaaaally wanna do this, try:

NPC Code:
if(created){
this.colors={1,1,1} //Change the colors 0-255
showimg id,@Arial@name,x-1,y-1;
showimg id+1,@Arial@name,x-.9,y-.9;
changeimgcolors id+1,0,0,1,.9;
changeimgvis id,3;
changeimgcolors id,this.colors[0],this.colors[1],this.colors[2],.9;
}

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 07:52 PM.


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