removed useless _ folders
This commit is contained in:
3
BackWindow/BackWindow.sol
Normal file
3
BackWindow/BackWindow.sol
Normal file
@@ -0,0 +1,3 @@
|
||||
<Solution name="BackWindow">
|
||||
<Project name="BackWindow" path="BackWindow\BackWindow.prj" active="true"/>
|
||||
</Solution>
|
||||
6
BackWindow/BackWindow/BackWindow.prj
Normal file
6
BackWindow/BackWindow/BackWindow.prj
Normal file
@@ -0,0 +1,6 @@
|
||||
<Project name="BackWindow" guid="D6E49EB2-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D6E49FB9-6C00-1014-B904-200204C60A89">
|
||||
<Script name="BackWindow_1.lsl" guid="D6E4BFA0-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
50
BackWindow/BackWindow/Object/BackWindow_1.lsl
Normal file
50
BackWindow/BackWindow/Object/BackWindow_1.lsl
Normal file
@@ -0,0 +1,50 @@
|
||||
// :CATEGORY:Door
|
||||
// :NAME:BackWindow
|
||||
// :AUTHOR:Anonymous
|
||||
// :CREATED:2010-01-10 05:20:56.000
|
||||
// :EDITED:2013-09-18 15:38:48
|
||||
// :ID:75
|
||||
// :NUM:102
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// BackWindow.lsl
|
||||
// :CODE:
|
||||
|
||||
integer IsOpen = 0;
|
||||
//Change this vector if you rotate the door.
|
||||
vector offset = <-2.5, 0, 0>;
|
||||
vector startpos;
|
||||
vector endpos;
|
||||
default
|
||||
{
|
||||
link_message(integer sender_num, integer num, string str, key id)
|
||||
{
|
||||
if (str=="retract1")
|
||||
{
|
||||
if (IsOpen == 1)
|
||||
{
|
||||
//startpos = llGetLocalPos();
|
||||
//endpos = startpos + offset;
|
||||
llPlaySound("Portal Door",1);
|
||||
llSetPrimitiveParams([PRIM_SIZE,<1.005,0.371,3.179>]);
|
||||
//llPlaySound("x-75canopy_latch",1);
|
||||
//llSetPos(endpos);
|
||||
IsOpen = 0;
|
||||
}
|
||||
}
|
||||
if (str=="extend1")
|
||||
{
|
||||
if (IsOpen == 0)
|
||||
{
|
||||
//startpos = llGetLocalPos();
|
||||
//endpos = startpos - offset;
|
||||
llPlaySound("Portal Door",1);
|
||||
llSetPrimitiveParams([PRIM_SIZE,<0.01,0.010,0.010>]);
|
||||
//llSetPos(endpos);
|
||||
IsOpen = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// END //
|
||||
Reference in New Issue
Block a user