osTeleportAgent
OSSLvoid osTeleportAgent(string agent, vector position, vector lookat)
Teleports an agent to the specified location
Parameters
| Type | Name | 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
integer osListFindListNext(list src, list test, integer start, integer end, integer instance)
void osListSortInPlaceStrided(list src, integer stride, integer stride_index, integer ascending)
void osPlaySoundSlave(integer linknum, string sound, float volume)
void osSunSetParam(string param, float value)
string osSHA256(string input)
float osGetCurrentSunHour()
string osGetGridGatekeeperURI()
void osDie(key objectUUID)