removed useless _ folders
This commit is contained in:
3
Delayed_Touch/Delayed_Touch.sol
Normal file
3
Delayed_Touch/Delayed_Touch.sol
Normal file
@@ -0,0 +1,3 @@
|
||||
<Solution name="Delayed_Touch">
|
||||
<Project name="Delayed_Touch" path="Delayed_Touch\Delayed_Touch.prj" active="true"/>
|
||||
</Solution>
|
||||
6
Delayed_Touch/Delayed_Touch/Delayed_Touch.prj
Normal file
6
Delayed_Touch/Delayed_Touch/Delayed_Touch.prj
Normal file
@@ -0,0 +1,6 @@
|
||||
<Project name="Delayed_Touch" guid="D8691E48-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D8691F47-6C00-1014-B904-200204C60A89">
|
||||
<Script name="Delayed_Touch_1.lsl" guid="D8693AB9-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
39
Delayed_Touch/Delayed_Touch/Object/Delayed_Touch_1.lsl
Normal file
39
Delayed_Touch/Delayed_Touch/Object/Delayed_Touch_1.lsl
Normal file
@@ -0,0 +1,39 @@
|
||||
// :CATEGORY:Touch
|
||||
// :NAME:Delayed_Touch
|
||||
// :AUTHOR:Sylar Lawksley
|
||||
// :CREATED:2010-09-07 23:52:51.867
|
||||
// :EDITED:2013-09-18 15:38:51
|
||||
// :ID:225
|
||||
// :NUM:311
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// Pretty self-explanatory. Perfect for anyone who wants to do a separate menu for the owner by holding their "touch" for X amount of time versus a standard click.
|
||||
// :CODE:
|
||||
integer true_touch = 0; //Used to determine if we have completed the touch-and-hold or not.
|
||||
|
||||
|
||||
|
||||
default
|
||||
|
||||
{
|
||||
|
||||
touch_start(integer h)
|
||||
|
||||
{
|
||||
|
||||
true_touch = 0;
|
||||
|
||||
llSetTimerEvent(5.0); // How long you want the user to click-and-hold before the timed function goes off.
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
touch_end(integer i)
|
||||
|
||||
{
|
||||
|
||||
if (true_touch != 1)
|
||||
|
||||
{
|
||||
Reference in New Issue
Block a user