removed useless _ folders
This commit is contained in:
3
hi_riseelevator_script/hi_riseelevator_script.sol
Normal file
3
hi_riseelevator_script/hi_riseelevator_script.sol
Normal file
@@ -0,0 +1,3 @@
|
||||
<Solution name="hi_riseelevator_script">
|
||||
<Project name="hi_riseelevator_script" path="hi_riseelevator_script\hi_riseelevator_script.prj" active="true"/>
|
||||
</Solution>
|
||||
@@ -0,0 +1,56 @@
|
||||
// :CATEGORY:Building
|
||||
// :NAME:hi_riseelevator_script
|
||||
// :AUTHOR:Shine Renoir
|
||||
// :CREATED:2010-01-10 05:20:56.000
|
||||
// :EDITED:2013-09-18 15:38:54
|
||||
// :ID:380
|
||||
// :NUM:527
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// An example how to build a platform at 2,000 meters. Place this script in a box, and place an object named "Sky Platform" in the box. Then sit down on the box. At 2,000 meters it rezzes the Sky Platform. Note: There are some strange rules at this altitude, e.g. when you try to move an object, it will be placed at 768 m height. Same for llSetPos. But looks like the physical movement commands are working.
|
||||
//
|
||||
// See below for an elevator to this height.
|
||||
// :CODE:
|
||||
// Space builder
|
||||
|
||||
//
|
||||
|
||||
// 2007 Copyright by Shine Renoir (fb@frank-buss.de)
|
||||
|
||||
// Use it for whatever you want, but keep this copyright notice
|
||||
|
||||
// and credit my name in notecards etc., if you use it in
|
||||
|
||||
// closed source objects
|
||||
|
||||
//
|
||||
|
||||
default
|
||||
|
||||
{
|
||||
|
||||
state_entry()
|
||||
|
||||
{
|
||||
|
||||
llSitTarget(<0, 0, 0.5>, ZERO_ROTATION);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
changed(integer change)
|
||||
|
||||
{
|
||||
|
||||
// if someone sits down
|
||||
|
||||
if (change & CHANGED_LINK) {
|
||||
|
||||
key av = llAvatarOnSitTarget();
|
||||
|
||||
if (av) {
|
||||
|
||||
vector start = llGetPos();
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
// :CATEGORY:Building
|
||||
// :NAME:hi_riseelevator_script
|
||||
// :AUTHOR:Shine Renoir
|
||||
// :CREATED:2010-01-10 05:20:56.000
|
||||
// :EDITED:2013-09-18 15:38:54
|
||||
// :ID:380
|
||||
// :NUM:528
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// For moving up to the platform, you could use a space elevator. Move it along the x-axis beside the platform on ground. On sit up it pushs you a bit, which moves you on the platform.
|
||||
// :CODE:
|
||||
// Space elevator
|
||||
|
||||
//
|
||||
|
||||
// 2007 Copyright by Shine Renoir (fb@frank-buss.de)
|
||||
|
||||
// Use it for whatever you want, but keep this copyright notice
|
||||
|
||||
// and credit my name in notecards etc., if you use it in
|
||||
|
||||
// closed source objects
|
||||
|
||||
|
||||
|
||||
// direction and power to push after sit up
|
||||
|
||||
vector push = <50.0, 0.0, 0.0>;
|
||||
|
||||
|
||||
|
||||
// target height
|
||||
|
||||
float height = 2005.0;
|
||||
|
||||
|
||||
|
||||
default
|
||||
|
||||
{
|
||||
|
||||
state_entry()
|
||||
|
||||
{
|
||||
|
||||
llSitTarget(<0, 0, 0.5>, ZERO_ROTATION);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
changed(integer change)
|
||||
|
||||
{
|
||||
|
||||
// if someone sits down
|
||||
|
||||
if (change & CHANGED_LINK) {
|
||||
|
||||
key av = llAvatarOnSitTarget();
|
||||
@@ -0,0 +1,8 @@
|
||||
<Project name="hi_riseelevator_script" guid="D7E78762-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D7E78858-6C00-1014-B904-200204C60A89">
|
||||
<Script name="hi_riseelevator_script_1.lsl" guid="D7E7B122-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
<Script name="hi_riseelevator_script_2.lsl" guid="D7E7C7D9-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user