removed useless _ folders
This commit is contained in:
3
Local_Teleport/Local_Teleport.sol
Normal file
3
Local_Teleport/Local_Teleport.sol
Normal file
@@ -0,0 +1,3 @@
|
||||
<Solution name="Local_Teleport">
|
||||
<Project name="Local_Teleport" path="Local_Teleport\Local_Teleport.prj" active="true"/>
|
||||
</Solution>
|
||||
6
Local_Teleport/Local_Teleport/Local_Teleport.prj
Normal file
6
Local_Teleport/Local_Teleport/Local_Teleport.prj
Normal file
@@ -0,0 +1,6 @@
|
||||
<Project name="Local_Teleport" guid="D7E7FED5-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D7E7FFCF-6C00-1014-B904-200204C60A89">
|
||||
<Script name="Local_Teleport_1.lsl" guid="D7E82005-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
57
Local_Teleport/Local_Teleport/Object/Local_Teleport_1.lsl
Normal file
57
Local_Teleport/Local_Teleport/Object/Local_Teleport_1.lsl
Normal file
@@ -0,0 +1,57 @@
|
||||
// :CATEGORY:Teleport
|
||||
// :NAME:Local_Teleport
|
||||
// :AUTHOR:Dustin Widget
|
||||
// :CREATED:2010-01-10 05:20:56.000
|
||||
// :EDITED:2013-09-18 15:38:56
|
||||
// :ID:489
|
||||
// :NUM:656
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// his script is useful for anyone needing a tp script attached to something that will be moved and rezzed regularly, such as a home.
|
||||
// :CODE:
|
||||
//Local Teleport v 1.1.2
|
||||
|
||||
//by Dustin Widget
|
||||
|
||||
//use and distribute freely, I only ask you keep my name at the top
|
||||
|
||||
//repeats a reset every 3 minutes, to update tp position in case of being rotated
|
||||
|
||||
//this timer wouldnt be needed if sl recognized a rotation as a move
|
||||
|
||||
|
||||
|
||||
float ud = 1; //distance to move up or down of the tp obect. (up is positive, down is negative)
|
||||
|
||||
float ew = 0; //distance to move east or west of the tp obect. ( is positive, is negative)
|
||||
|
||||
float ns = 0; //distance to move north or south of the tp obect. ( is positive, is negative)
|
||||
|
||||
string sitText = "Teleport";
|
||||
|
||||
|
||||
|
||||
default
|
||||
|
||||
{
|
||||
|
||||
state_entry()
|
||||
|
||||
{
|
||||
|
||||
llSitTarget(<ns,ew,ud> * (ZERO_ROTATION / llGetRot()),ZERO_ROTATION / llGetRot());
|
||||
|
||||
llSetSitText(sitText);
|
||||
|
||||
llSetTimerEvent(180);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
on_rez(integer param)
|
||||
|
||||
{
|
||||
|
||||
llResetScript();
|
||||
Reference in New Issue
Block a user