Skip to content

llTeleportAgentGlobalCoords

Function Syntax
void llTeleportAgentGlobalCoords(
  1. key AvatarID, // UUID of avatar.
  2. vector GlobalPosition, // Global coordinates of the destination region. Can be retrieved by using llRequestSimulatorData(region_name, DATA_SIM_POS).
  3. vector RegionPosition, // The position within the target region to teleport the avatar to, if no landmark was provided.
  4. vector LookAtPoint // The position within the target region that the avatar should be turned to face upon arrival.
);

Teleports an agent to the RegionPosition local coordinates within a region which is specified by the GlobalPosition global coordinates. The agent lands facing the position defined by LookAtPoint local coordinates.

Requires the PERMISSION_TELEPORT permission. This function can only teleport the owner of the object.