Push All Scripts

This commit is contained in:
Fred Beckhusen
2015-08-07 10:38:47 -05:00
parent 2ad9795428
commit ce47ec2f3e
8079 changed files with 2442776 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,7 @@
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|08 Sep 2013 03:49:04 -0000
vti_extenderversion:SR|12.0.0.6211
vti_backlinkinfo:VX|
vti_author:SR|alien\\fred
vti_modifiedby:SR|alien\\fred
vti_timecreated:TR|18 Sep 2013 20:38:59 -0000

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>

View File

@@ -0,0 +1,6 @@
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|17 Aug 2013 23:32:31 -0000
vti_extenderversion:SR|12.0.0.0
vti_cacheddtm:TX|17 Aug 2013 23:32:31 -0000
vti_filesize:IR|283
vti_backlinkinfo:VX|