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

View File

@@ -0,0 +1,70 @@
// :CATEGORY:Vehicles
// :NAME:Physics_Watcher_Script
// :AUTHOR:Anonymous
// :CREATED:2010-01-10 05:20:56.000
// :EDITED:2013-09-18 15:38:59
// :ID:628
// :NUM:855
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// Physics Watcher Script.lsl
// :CODE:
1 // Remove That 1 to make the Script Running
// Sometimes when crossing sim borders, physics will spontaneously be removed from a vehicle.
// This script re-enables physics if that happens.
integer active = TRUE;
default {
state_entry() {
//llListen(0, "", NULL_KEY, "brake");
//llListen(0, "", NULL_KEY, "b");
llSetTimerEvent(1.0);
}
timer() {
if (active) {
if (llAvatarOnSitTarget() == llGetOwner()) {
if (!llGetStatus(STATUS_PHYSICS)) {
llSleep(1.0);
llSetStatus(STATUS_PHYSICS, TRUE);
}
} else {
active = FALSE;
llSetTimerEvent(0.0);
}
} else {
llSetTimerEvent(0.0);
llSetStatus(STATUS_PHYSICS, FALSE);
}
}
listen(integer channel, string name, key id, string message) {
string myMessage = llToLower(message);
if (id == llGetOwner()) {
if (myMessage == "b" || myMessage == "brake") {
if (active) {
active = FALSE;
llWhisper(0, "Emergency brake engaged! Say 'b' in chat to resume flight.");
} else {
active = TRUE;
llSetTimerEvent(1.0);
llWhisper(0, "Emergency brake disengaged.");
}
}
}
}
link_message(integer sender, integer num, string message, key id) {
if (message == "throttle" || message == "engines on") {
if (message == "throttle" && active == FALSE) {
llWhisper(0, "Emergency brake disengaged.");
}
active = TRUE;
llSetTimerEvent(1.0);
}
}
}
// END //

View File

@@ -0,0 +1,6 @@
<Project name="Physics_Watcher_Script" guid="D76B5B00-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D76B5C14-6C00-1014-B904-200204C60A89">
<Script name="Physics_Watcher_Script_1.lsl" guid="D76B8B3C-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>