osTeleportAgent
OSSLvoid osTeleportAgent(string agent, LSL_Types.Vector3 position, LSL_Types.Vector3 lookat)
Teleports an agent to the specified location
Parameters
| Type | Name | What it does |
|---|---|---|
| string | agent | The avatar. |
| LSL_Types.Vector3 | position | Where to land, region metres. |
| LSL_Types.Vector3 | 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 osReplaceRegionEnvironment(integer transition, string daycycle, float daylen, float dayoffset, float altitude1, float altitude2, float altitude3)
string osSetPenColour(string drawList, string colour)
integer osResetEnvironment(integer parcelOrRegion, integer transition)
void osSetParcelMediaURL(string url)
string osAESEncrypt(string secret, string plainText)
rotation osGetSitTargetRot()
void osSetEstateSunSettings(integer sunFixed, float sunHour)
void osNpcShout(key npc, integer channel, string message)