Forgot? Join

Scripting

LSL Guide

Every script function this grid actually runs, read straight from the region software rather than copied from a wiki — including the wolf* functions that exist only here.

Functions · Constants

osTeleportAgent

OSSL
void osTeleportAgent(string agent, vector position, vector lookat)

Teleports an agent to the specified location

Parameters

TypeName What it does
string agent The avatar.
vector position Where to land, region metres.
vector lookat Which way to face.

Example

default
{
    touch_start(integer n)
    {
        osTeleportAgent(llDetectedKey(0), "Wolf Mountain", <128, 128, 30>, <1, 0, 0>);
    }
}
Energy 10

OpenSimulator extensions. Some are gated by threat level and a region may refuse them.

More in OSSL