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 07-05-2002, 01:48 AM
ParadiseAdmin3 ParadiseAdmin3 is offline
Registered User
Join Date: Jun 2002
Posts: 102
ParadiseAdmin3 is on a distinguished road
I need help please help me if you know

Ok, how do I change color if I use:
showimg 1,@BOYS,x,y;
I want to change the word BOYS's color to Blue but I don't know how. The original color of the text is lightgray. Please reply back if you know thanks...
__________________
Can you take on my sexyness?

- Thousandeyes
Reply With Quote
  #2  
Old 07-05-2002, 01:53 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
changeimgcolors index,r,g,b,a;

r,g,b,a all have to between 0 and 1
__________________
[signature]insert here[/signature]
Reply With Quote
  #3  
Old 07-05-2002, 01:56 AM
Dustey4Ever Dustey4Ever is offline
Registered User
Join Date: Apr 2002
Posts: 348
Dustey4Ever is on a distinguished road
Send a message via AIM to Dustey4Ever
this might help

changeimgcolors index,r,g,b,alpha;

Index, the index of the shown image your trying to change

R,G,B is is red, green, blue, in graal we basically use 1 on or 0 off, but you can use decimals to change it too...

Alpha can be used for a few things, to change how the color looks or to make it barely appear

so if you want blue and the index was 1
NPC Code:

if (playerenters){
showimg 1,@BOYS,x,y;
changeimgcolors 1,0,0,1,.99;
}




this is simple but just and explanation
__________________
Dustey, Rob Getashu, Van?
Van- I use this acct because mine dun work.....
Rob- Same
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 11:52 PM.


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