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
string osGetAvatarHomeURI(string uuid)
string osDrawRectangle(string drawList, integer width, integer height)
string osGetSimulatorVersion()
vector osListAsVector(list src, integer index)
rotation osGetSitTargetRot()
string osGetScriptEngineName()
void osSetHealth(key agentId, float health)
void osSetHealRate(key agentId, float health)