osteleport

 

 

Scripts name osteleport  
Purpose teleport to a place in the same grid, or even hypergrid  
script lanugages used lsl, oS  
important settings for region allow function osTeleportAgent  
test on osgrid - trunk  6.1 SVN8066, XEngine  

 

 

// Enable OSSL functions and set the threat level high to enable the osTeleportAgent function
default
{
state_entry()
{
llSay(0, "Script running");
}

touch_start(integer _det) {
llSay(0, "warp !");
string SimName = "Sharkland Tropical 1";
vector LandingPoint = <92,223,50>;
vector LookAt = <64,200,25> ;
osTeleportAgent(llDetectedKey(0), SimName, LandingPoint, LookAt);
}
}