View Full Version : shadowcolor
papou
07-24-2003, 01:02 PM
hi, i have trouble with ShadowColor("<red>","<green>","<blue>");
how to include that in Lscript?
did i have to write:
ShadowColor("<100>","<100>","<100>");
or ShadowColor("<100,100,100>");
or ShadowColor("100","100","100");
or ShadowColor("100,100,100");
do you have example please?
thank you!
Here's some references to color, is there an alpha value??
color = <0,255 * .5,255 * .75>;
idleTest
{
drawline(color,0,2,100,2);
26 VOLUME 2: COMMAND REFERENCE
color.x += 5;
color.y += 5;
color.z += 5;
if(color.x > 255) color.x = 0;
if(color.y > 255) color.y = 0;
if(color.z > 255) color.z = 0;
Here's another snippet of code from the manual which looks like it shows how color objects are created.
c1 = ctlcolor(“Color”, <100,100,100>);
Based on those examples I'd guess it would be something like this
shdcolor("Color", <100,100,100>);
papou
07-25-2003, 03:55 AM
thank you Riki!
but in fact, it seem to be ShadowColor(1,1,1);
hey riki, are you falling into lscript after incremental saver experience? :)
haha I was thinking why not :) I can give programming advice on something i know nothing about :)
papou
07-25-2003, 01:55 PM
lol
Tom Speed
07-26-2003, 11:47 PM
If you're ever stuck with Command Sequence commands, add Lscript Commander and go tweak the control which should add an entry to LS Commander, then convert to LScript in its menu.
Tom
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.