llTeleportAgent

From Second Life Wiki
Jump to navigation Jump to search
Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Summary

Function: llTeleportAgent( key id, string simname, vector pos, vector look_at );
0.1 Forced Delay
10.0 Energy

Teleports agent id to location pos.

• key id
• string simname
• vector pos
• vector look_at

Caveats

  • This function causes the script to sleep for 0.1 seconds.Agent must be the script owner or must be on script owner's land, agent should ignore subsequent calls to llTeleportAgent within a time limit are ignored, to prevent it from being used for a repeat-teleport trap.

Examples

Notes

This would be extremely useful in complex builds and HUDS. NOTE: look_at is included to match llMapDestination's look_at possible future functionality, which currently does nothing.

Deep Notes

Signature

//function void llTeleportAgent( key id, string simname, vector pos, vector look_at );