removed useless _ folders
This commit is contained in:
3
Show_Hide/Show_Hide.sol
Normal file
3
Show_Hide/Show_Hide.sol
Normal file
@@ -0,0 +1,3 @@
|
||||
<Solution name="Show_Hide">
|
||||
<Project name="Show_Hide" path="Show_Hide\Show_Hide.prj" active="true"/>
|
||||
</Solution>
|
||||
68
Show_Hide/Show_Hide/Object/Show_Hide_1.lsl
Normal file
68
Show_Hide/Show_Hide/Object/Show_Hide_1.lsl
Normal file
@@ -0,0 +1,68 @@
|
||||
// :CATEGORY:Building
|
||||
// :NAME:Show_Hide
|
||||
// :AUTHOR:Anonymous
|
||||
// :CREATED:2010-01-10 05:20:56.000
|
||||
// :EDITED:2013-09-18 15:39:02
|
||||
// :ID:747
|
||||
// :NUM:1030
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// Show_Hide.lsl
|
||||
// :CODE:
|
||||
|
||||
1// remove this number for the script to work.
|
||||
|
||||
|
||||
//This is the command used to make the object show itself. You can change it to what ever you like.
|
||||
string sCommand = "show";
|
||||
|
||||
//This is the command used to make the obnject hide itself. You can change it to what ever you like.
|
||||
string hCommand = "hide";
|
||||
|
||||
//This is the channel which the object will listen to. It is set to channel 9 so to make it work you will say '/9' then the command.
|
||||
integer chan = 9;
|
||||
|
||||
//this is the time that the object will display itself for before it automatically hides itself, it is set to 0 so you will se the box when you rez it.
|
||||
integer time = 0;
|
||||
|
||||
//This script automatically turns the object to phantom, If you wish it to be solid then change this value to FALSE.
|
||||
integer switch = TRUE;
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
default
|
||||
{
|
||||
state_entry()
|
||||
{
|
||||
llListen(chan,"",NULL_KEY,"");
|
||||
llSetStatus(STATUS_PHANTOM,switch);
|
||||
llSetTimerEvent(time);
|
||||
}
|
||||
|
||||
listen(integer channel, string name, key id, string msg)
|
||||
{
|
||||
if (msg == sCommand)
|
||||
{
|
||||
llSetAlpha(1,ALL_SIDES);
|
||||
llSetTimerEvent(time);
|
||||
|
||||
}
|
||||
|
||||
if (msg == hCommand)
|
||||
{
|
||||
llSetAlpha(0,ALL_SIDES);
|
||||
}
|
||||
}
|
||||
timer()
|
||||
{
|
||||
llSetAlpha(0,ALL_SIDES);
|
||||
}
|
||||
on_rez(integer start_param)
|
||||
{
|
||||
llResetScript();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
// END //
|
||||
6
Show_Hide/Show_Hide/Show_Hide.prj
Normal file
6
Show_Hide/Show_Hide/Show_Hide.prj
Normal file
@@ -0,0 +1,6 @@
|
||||
<Project name="Show_Hide" guid="D79AFA4C-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D79AFB47-6C00-1014-B904-200204C60A89">
|
||||
<Script name="Show_Hide_1.lsl" guid="D79B242A-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user