Thread: 3D Bomy :)
View Single Post
  #26  
Old 08-08-2001, 04:54 PM
toad1413 toad1413 is offline
toad@graal:~$ ./Oldbie
Join Date: May 2001
Location: Aust.
Posts: 3,819
toad1413 is on a distinguished road
Send a message via ICQ to toad1413
In other words,

setcoloreffect r,g,b,a;

is how it works. for example:
NPC Code:
setcoloreffect 1,1,0,0.5;



Would make a yellow light. r is the amount of read in the light, g is for the green and b is for the blue. a is the alpha blending (sp?) in it. People say that all of them have to be a number between 0 and 1, but only the alpha does. for the r, g & b, you can use values from 0 to 255 as well as 0 - 1.
__________________
Creator of the original 'spam' icon. Worst mistake I ever made on these forums.
Reply With Quote