Skip to content

llTeleportAgent

Function Syntax
void llTeleportAgent(
  1. key AvatarID, // UUID of avatar.
  2. string LandmarkName, // Name of landmark (in object contents), or empty string, to use.
  3. vector Position, // If no landmark was provided, the position within the current region to teleport the avatar to.
  4. vector LookAtPoint // The position within the target region that the avatar should be turned to face upon arrival.
);

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.