/////////////////////////////////////////////////////////////////////////// // Copyright (C) Wizardry and Steamworks 2011 - License: GNU GPLv3 // // Please see: http://www.gnu.org/licenses/gpl.html for legal details, // // rights of fair usage, the disclaimer and warranty conditions. // /////////////////////////////////////////////////////////////////////////// // This is a spin off the example osTeleportAgent // example which you can find on he OpenSim site at: // http://opensimulator.org/wiki/OsTeleportAgent // The latest version can be found at: // http://grimore.org/opensim:hypergrid_teleports key avatar = NULL_KEY; default { touch_start(integer num_detected) { avatar = llDetectedKey(0); state teleport; } } state teleport { state_entry() { ////////////// SETTINGS //////////////// //////////////////////////////////////// // Region name. // Nova is on separate grid now. // string Destination = "Nova"; // Landing point, in local coordinates. vector landingPoint = <182, 225, 26>; // Look-At when they arrive. vector lookAt = <1,1,1>; // The global x coordinate of the map tile integer map_x = 5000; integer map_y = 5000; //////////////////////////////////////// osTeleportAgent(avatar, map_x, map_y, landingPoint, lookAt); state default; } }