llTeleportAgent
void llTeleportAgent(key AvatarID, string LandmarkName, vector Position, vector LookAtPoint)Requests a teleport of avatar to a landmark stored in the object's inventory. If no landmark is provided (an empty string), the avatar is teleported to the location position in the current region. In either case, the avatar is turned to face the position given by look_at in local coordinates.
Requires the PERMISSION_TELEPORT permission. This function can only teleport the owner of the object.
Parameters
-
AvatarID(key) - UUID of avatar.
-
LandmarkName(string) - Name of landmark (in object contents), or empty string, to use.
-
Position(vector) - If no landmark was provided, the position within the current region to teleport the avatar to.
-
LookAtPoint(vector) - The position within the target region that the avatar should be turned to face upon arrival.
Examples
Section titled “Examples”Add example usage here.
Add additional notes, caveats, or tips here.
See Also
Section titled “See Also”- Related pages can be linked here