Home |
Add a script
|
||
|---|---|---|---|
| Category: | Contributor: | Description | |
| Cloaking | Anonymous | Cloak Objects by voice.lsl | |
CLoak objects by voice
Cloak Objects by voice.lsl
Download this script - Please use this link to get this script. If you see all the code on one long line, please use Wordpad or another editor, such as LSLEdit.exe. The .LSL file you will download is an ordinary text file.
1 // CATEGORY:CLoaking 2 // DESCRIPTION:CLoak objects by voice 3 // ARCHIVED BY:Ferd Frederix 4 5 default 6 { 7 state_entry() 8 { 9 key owner = llGetOwner(); 10 llWhisper(0,"Cloaking ready"); 11 llListen(0,"",owner,""); 12 } 13 15 { 16 if( message == "cloak" ) 17 { 18 llSetStatus(STATUS_PHANTOM, TRUE); 19 llWhisper(0,"Cloaking"); 20 llSetAlpha(0,ALL_SIDES); 21 } 22 if( message == "uncloak" ) 23 { 24 llSetStatus(STATUS_PHANTOM, FALSE); 25 llWhisper(0,"Uncloaking"); 26 llSetAlpha(1,ALL_SIDES); 27 } 28 } 29 } 30 // END //