{
if (Client.network.getCurrentSim() != null &&
Client.network.getCurrentSim().Caps != null &&
Client.network.getCurrentSim().Caps.isEventQueueRunning())
{
TeleportLocationRequestPacket teleport = new TeleportLocationRequestPacket();
teleport.AgentData.AgentID = Client.self.getAgentID();
teleport.AgentData.SessionID = Client.self.getSessionID();
teleport.Info.LookAt = lookAt;
teleport.Info.Position = position;
teleport.Info.RegionHandle = regionHandle;