removed useless _ folders

This commit is contained in:
Fred Beckhusen
2015-08-09 16:54:31 -05:00
parent fde850293c
commit 948a44dfba
5204 changed files with 2425579 additions and 0 deletions

6
NoPush/NoPush/NoPush.prj Normal file
View File

@@ -0,0 +1,6 @@
<Project name="NoPush" guid="D66457A6-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D6645877-6C00-1014-B904-200204C60A89">
<Script name="NoPush_1.lsl" guid="D665D4AB-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>

View File

@@ -0,0 +1,80 @@
// :CATEGORY:Defense
// :NAME:NoPush
// :AUTHOR:Encog Dod
// :CREATED:2010-01-10 05:20:56.000
// :EDITED:2013-09-18 15:38:58
// :ID:563
// :NUM:767
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// NoPush
// :CODE:
// From the book:
//
// Scripting Recipes for Second Life
// by Jeff Heaton (Encog Dod in SL)
// ISBN: 160439000X
// Copyright 2007 by Heaton Research, Inc.
//
// This script may be freely copied and modified so long as this header
// remains unmodified.
//
// For more information about this book visit the following web site:
//
// http://www.heatonresearch.com/articles/series/22/
integer locked;
float LOCKTIME = 1.0;
default
{
state_entry()
{
}
on_rez(integer start_param)
{
llRequestPermissions(llGetOwner(), PERMISSION_TAKE_CONTROLS);
locked = FALSE;
}
run_time_permissions(integer perm)
{
if(perm & (PERMISSION_TAKE_CONTROLS))
{
llTakeControls(CONTROL_FWD|
CONTROL_BACK|
CONTROL_RIGHT|
CONTROL_LEFT|
CONTROL_ROT_RIGHT|
CONTROL_ROT_LEFT|
CONTROL_UP|
CONTROL_DOWN,
TRUE, TRUE);
llSetTimerEvent(1);
}
}
control(key id, integer level, integer edge)
{
if (locked)
{
llMoveToTarget(llGetPos(), 0);
locked = FALSE;
}
llResetTime();
}
timer()
{
if ((!locked) && (llGetTime() > LOCKTIME))
{
llMoveToTarget(llGetPos(), 0.2);
locked = TRUE;
}
}
}