LSL: Owner colored wall  
Owner colored wall panel, pastel.  This panel changes color on a touch by the owner.  The colors range from nerely white to moderately strong pastel.  
float randFMTO(float FM, float TO)
{ return llFrand(TO- FM) + FM; }
User defined function
key toucher; Global variable
default {  

touch_start(integer total_num)

 

{ toucher = llDetectedKey(0);

 

if(toucher == llGetOwner() )

 

{float red = randFMTO (.3, 1 );
float green = randFMTO (.3, 1 );
float blue =randFMTO (.3, 1 );
llSetColor(<(float)red,(float)green,(float)blue >, ALL_SIDES);}

See
Colorator, Owner controlled
Tribble Hair

else
llGiveInventory(llDetectedKey(0),llGetInventoryName(INVENTORY_NOTECARD, 0));

Notecard carries info for non-owners.
   }
}
 
The Thinkerer 05/09/2008
Copyright (c) D. F. Dansereau & S. H. Evans

Site Map

Where start?

LODScr
Famous fables