Simple Hypergate Teleport Script

The following is a script you can place on any object to turn it into a hypergrid teleportation portal.

If you put it on something that looks like a giant blue swirly circle, everyone will know that it’s a hypergate. But you can also use it to create teleport buttons or a teleportation doorway, or anything else.

Notes: Set the destination name in the first line of the script, and the hypergrid address in the second line. Use the same address you would enter in Map-Search to teleport to your destination.

Warning: You can only travel 4,096 regions in any direction. If you’re on ReactionGrid, you can’t jump to OSGrid center — they’re too far apart. But you can jump to some intermediary regions, first. You also can’t jump to another region with the same exact coordinates as yours, you can’t jump to a region that’s running HG 1.5 if you’re running HG 1.0 and vice versa. (ReactionGrid is currently on HG 1.0, and OSGrid is on HG 1.5.) You also need to have hypergrid enabled on your home region.

The script below uses both the “touch-start” function and the “collision” function. You can cut out the part you don’t need. So if you want the hypergate to work only when touched, take out the two lines at the end of the script that start with “collision”. If you want the gate to work only when someone walks into it, take out the two lines near the end of the script that start with “touch_start”.

In order for the collision detection to work, the gate must not be phantom. However, you can put some a nice watery object in front of it to create the illusion that you’re walking through that weird Stargate plasma stuff.

The script uses the llMapDestination command. This brings up the map, with the destination coordinate filled in. Hit the “search” button and then hit “teleport.” You can also use the osTeleport command instead, which doesn’t work on all regions — you have to have OS functions enabled, and set the threat level to high. Check with your hosting provider for more details.

Here is the OS function alternative:

osTeleportAgent( WhomToTeleport, SimAddress, LandingPoint, LookAt );

Hypergate Teleport Script

I’ve given up trying to post the script in here — WordPress keeps replacing key parts with gibberish!

Here’s a text file download, instead:

Hyperica single destination teleport script

Please let me know if there are any problems with it.

maria@hypergridbusiness.com'

Maria Korolov

Maria Korolov is editor and publisher of Hypergrid Business. She has been a journalist for more than twenty years and has worked for the Chicago Tribune, Reuters, and Computerworld and has reported from over a dozen countries, including Russia and China.

  • Timber

    Real nice script thanks!

  • Looks like it only works when the destination address is on a different grid. If you want to use the gate to go to another region on the same grid, just give its region name under SimAddress, not the whole HG address.

  • Nebadon Izumi

    just a heads up there are 2 jump regions in OSgrid called jump4000 (4000,4000) and jump8000 (8000,8000)