Hello Lovely people, Just wondering if anyone would not mind posting ( if they are happy to) a script for a simple teleport up and down between floors for a house. it would be used in a house build for Kitely MP and set to copy , mod only within the script. I have one but could not get it to work very well.
Thank you in advance much appreciated
Genavieve Page
Simple Teleport Script
- Genavieve Page
- Posts: 61
- Joined: Thu Jun 02, 2016 2:54 pm
- Has thanked: 116 times
- Been thanked: 44 times
- Selby Evans
- Posts: 620
- Joined: Wed Sep 04, 2013 6:00 pm
- Has thanked: 1840 times
- Been thanked: 822 times
Re: Simple Teleport Script
This is one I have used with no problems. Goes to anywhere ingrid. For multiple flooors, you may want a script with select option.
Code: Select all
// change the following for somewhere that excites you, if you like :)
string region="Creative Collaborators"; // where you are going
vector position=<372,372,30>; // where you are landing
vector lookat=<1,0,0>; // what you are looking at.
beam(key agent)
{
osTeleportAgent(agent, region, position, lookat);
}
default
{
// touch or colliison, take yer pick.
//touch_start(integer c)
collision_start(integer c)
{
integer n;
for (n=0; n<c; n++)
{
if (llDetectedType(n) & AGENT)
{
beam(llDetectedKey(n));
}
}
}
}
- These users thanked the author Selby Evans for the post (total 4):
- Ilan Tochner • Mike Lorrey • Genavieve Page • Arton Tripsa
- Genavieve Page
- Posts: 61
- Joined: Thu Jun 02, 2016 2:54 pm
- Has thanked: 116 times
- Been thanked: 44 times
- Elbereth Elentari 2
- Posts: 30
- Joined: Sat Oct 01, 2016 3:06 pm
- Has thanked: 11 times
- Been thanked: 15 times
Re: Simple Teleport Script
Many thanks for sharing this script, Selby. This is the most simple, reliable and efficient TP-script I have ever encountered.
- Selby Evans
- Posts: 620
- Joined: Wed Sep 04, 2013 6:00 pm
- Has thanked: 1840 times
- Been thanked: 822 times
Re: Simple Teleport Script
Here is an article pointing scripting resources in virtual worlds, including OSSL. There are several good sources of free scripts.
http://virtualoutworlding.blogspot.com/ ... es-in.html
http://virtualoutworlding.blogspot.com/ ... es-in.html
- These users thanked the author Selby Evans for the post:
- Genavieve Page
- Genavieve Page
- Posts: 61
- Joined: Thu Jun 02, 2016 2:54 pm
- Has thanked: 116 times
- Been thanked: 44 times
Re: Simple Teleport Script
Thank you so much SelbySelby Evans wrote:Here is an article pointing scripting resources in virtual worlds, including OSSL. There are several good sources of free scripts.
http://virtualoutworlding.blogspot.com/ ... es-in.html