Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Not setting alpha on all sides

Slobie Bolero
Registered User
Join date: 14 Nov 2006
Posts: 13
10-02-2007 16:20
Have a script to set window tint levels, and I use, for example:
llSetAlpha(0.75, ALL_SIDES);

However, it only sets the alpha on 1 side of the window. The other stays the same. Is this a bug? And is there a workaround? Thanks.
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
10-02-2007 17:44
Sure you don't have an alpha texture on that face?

This works fine:

CODE

integer t=1;

default
{
touch_start(integer total_number)
{
if(t==1){llSetAlpha(0.0,ALL_SIDES);t=2;}
else if(t==2){llSetAlpha(0.5,ALL_SIDES);t=3;}
else{llSetAlpha(1.0,ALL_SIDES);t=1;}
}
}
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum