I made some curtains with the following script:
default
{
state_entry()
{
llListen(4, "", NULL_KEY, "" );
}
listen(integer channel, string name, key id, string message)
{
if(message == "private"

{
llSetPrimitiveParams([PRIM_COLOR, ALL_SIDES, <255,255,128>,1.0]);
}
if(message == "open"

{
llSetPrimitiveParams([PRIM_COLOR, ALL_SIDES, <255,255,128>,0.8]);
}
}
}
Should be pretty straightforward, right? Well, funnily enough, the script sets the color to 255,255,255 instead of 255,255,128. And of course, as usual, I have no idea why. Can anyone help?
Thanks -- Dylan