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
void osLinkParticleSystem(integer linknumber, list rules)
void osLoopSoundMaster(integer linknum, string sound, float volume)
void osTriggerSoundLimited(integer linknum, string sound, float volume, vector top_north_east, vector bottom_south_west)
integer osReplaceParcelEnvironment(integer transition, string daycycle)
key osRequestSecureURL(list options)
rotation osListAsRotation(list src, integer index)
integer osListenRegex(integer channelID, string name, string ID, string msg, integer regexBitfield)
string osGetGridNick()