Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Typing AO script help...

Stinky Omlet
Registered User
Join date: 12 Mar 2006
Posts: 23
06-27-2007 08:33
I found this free Typing AO script, so I'd thought I'd make my own for the hell of it... I found a good texture that I want to use and when i make the prim that the texture is on transparent by 20 it looks great... then I put the script in, the prim disappears then reappears when I type like it suppose to.. but heres the problem. I want the texture to be transparent by 20 like I set it to be when I made it but when I start typing, the texture comes out solid.. See pics below:

1) How I want it to look - http://aycu21.webshots.com/image/20940/2004367696354509909_rs.jpg

2) How it looks when I type - http://aycu24.webshots.com/image/19983/2006155035861653555_rs.jpg

I don't know how I can make it look like #1 when I type..

I'm not a scripter so i don't know if its something in the free script that I have or what...

Here is the script that I have (its a free script, thats why i'm posting it)

// the first free keyboard script
// by nonnux White
// free to mod, sell, erase, explode, burn :)
list anims = [];
default
{
state_entry()
{
llSetTimerEvent(.2);
}
timer()
{
anims = llGetAnimationList(llGetOwner());
if(llListFindList(anims,[(key)("c541c47f-e0c0-058b-ad1a-d6ae3a4584d9";)]) != -1)
{
llSetText("",<1,0,0>,1);
llSetLinkAlpha(LINK_SET,1.0,ALL_SIDES);
}
if(llListFindList(anims,[(key)("c541c47f-e0c0-058b-ad1a-d6ae3a4584d9";)]) == -1)
{
llSetText("",<1,1,0>,1);
llSetLinkAlpha(LINK_SET,0.0,ALL_SIDES);
}
}
}

can someone help me plz..

thx
Mickey McLuhan
She of the SwissArmy Tail
Join date: 22 Aug 2005
Posts: 1,032
06-27-2007 08:49
Your best bet is to probably do the transparancy in the actual texture, rather than the prim
_____________________

*0.0*

Where there's smoke, there isn't always fire. It might just be a particle display. ;-)
-Mari-

Stinky Omlet
Registered User
Join date: 12 Mar 2006
Posts: 23
06-27-2007 08:51
From: Mickey McLuhan
Your best bet is to probably do the transparancy in the actual texture, rather than the prim


I didn't upload the texture so I don't have it on my desktop to edit it..
Milambus Oh
Registered User
Join date: 6 Apr 2007
Posts: 224
06-27-2007 08:52
Use this...


// the first free keyboard script
// by nonnux White
// free to mod, sell, erase, explode, burn
list anims = [];
default
{
state_entry()
{
llSetTimerEvent(.2);
}
timer()
{
anims = llGetAnimationList(llGetOwner());
if(llListFindList(anims,[(key)("c541c47f-e0c0-058b-ad1a-d6ae3a4584d9";)]) != -1)
{
llSetText("",<1,0,0>,1);
llSetLinkAlpha(LINK_SET,0.8,ALL_SIDES);
} else {
llSetText("",<1,1,0>,1);
llSetLinkAlpha(LINK_SET,0.0,ALL_SIDES);
}
}
}
Stinky Omlet
Registered User
Join date: 12 Mar 2006
Posts: 23
06-27-2007 09:02
From: Milambus Oh
Use this...


// the first free keyboard script
// by nonnux White
// free to mod, sell, erase, explode, burn
list anims = [];
default
{
state_entry()
{
llSetTimerEvent(.2);
}
timer()
{
anims = llGetAnimationList(llGetOwner());
if(llListFindList(anims,[(key)("c541c47f-e0c0-058b-ad1a-d6ae3a4584d9";)]) != -1)
{
llSetText("",<1,0,0>,1);
llSetLinkAlpha(LINK_SET,0.8,ALL_SIDES);
} else {
llSetText("",<1,1,0>,1);
llSetLinkAlpha(LINK_SET,0.0,ALL_SIDES);
}
}
}


thank you.. that worked great