Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Another Simple Silly Blinds Script

Stacey Novi
Registered User
Join date: 16 Jan 2007
Posts: 2
02-12-2007 21:07
This script changes a window from mostly transparent and blueish to a solid pink pretty texture. Have at it...

CODE
// Stacey Novi's Horribly Simple blinds script
// if you don't totally hate this, send me an IM :)
string id;
string owner;

// default is for the window to be mostly transparent
default
{
state_entry(){
llSetAlpha(.20, ALL_SIDES);
llSetColor( <0,128,55>,ALL_SIDES);
llSetTexture("2cb471c1-5457-7db9-8776-1f6b9a201388",ALL_SIDES);
}
touch_start(integer num_detected)
{
id = llGetLandOwnerAt( llGetLocalPos());
owner = llGetOwner();
if(id == owner){ state closed;}
}
}



state closed
{
state_entry()
{
llSetAlpha(1.0,ALL_SIDES);
llSetColor( <255,255,255>, ALL_SIDES);
llSetTexture("2cb471c1-5457-7db9-8776-1f6b9a201388",ALL_SIDES);
}
touch_start(integer num_detected)
{
id = llGetLandOwnerAt( llGetLocalPos());
owner = llGetOwner();
if(id == owner){ state default;}
}
}
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
Discussion Thread
02-14-2007 11:02
/54/d2/166222/1.html
_____________________
i've got nothing. ;)
Zaria Bellman
Registered User
Join date: 14 Oct 2006
Posts: 4
08-05-2007 15:41
How does it work though.... is it linked to all windows with the script?.. does it work by clicking on it?

I'm trouble getting this script to work