llTeleportAgentGlobalCoords
Function Syntax
void llTeleportAgentGlobalCoords(
- key AvatarID, // UUID of avatar.
- vector GlobalPosition, // Global coordinates of the destination region. Can be retrieved by using llRequestSimulatorData(region_name, DATA_SIM_POS).
- vector RegionPosition, // The position within the target region to teleport the avatar to, if no landmark was provided.
- 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.