Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Discussion: 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
Original Thread
02-14-2007 11:02
/15/98/165908/1.html
_____________________
i've got nothing. ;)