The Teleport command


Usage

    teleport [world] [+/-][north/south coordinate][N/S] [+/-][east/west coordinate][E/W] [+/-][altitudeA] [+/-][direction]

Description

The teleport command sends the user to a new location. All arguments are individually optional, however a valid teleport command must specify a destination of some sort.

The world argument specifies the world to send the user to. If no world is specified, the teleport is local to the current world.

The north/south coordinate and east/west coordinate together specify the new location. The format of these coordinates are the same as how the current location is displayed in the browser title bar. If omitted, the coordinates default to "0N 0W". The coordinates may be omitted only if a world is specified and no other arguments are used.

The coordinates can also be relative. Relative coordinates are more often used with the warp command but they can also be used with teleport. To specify a relative coordinate, place a + or - character before it and omit the N/S/E/W character. If one coordinate is relative, all coordinates in the command must be relative or else the teleport will be invalid.

The altitude argument specifies an optional new altitude. If omitted, the user's altitude will remain unchanged by the teleport. As with the coordinates, altitude is specified in units of 10 meters. The altitude argument must be terminated by the letter 'A' to distinguish it from the other arguments. It may also be made relative by placing a + or - in front.

Note: gravity kicks in immediately after a teleport is completed. When creating a teleport that sends users to a new altitude, keep in mind that they will begin falling immediately. If you are trying to place them on to an elevated surface, they often may not immediately load the ground or floor pieces required to keep them at at the new elevation and will often "fall through" the floor before it loads. This can be a difficult problem to solve, but one thing you can try is teleporting them to an elevation that is well above the desired one, to increase the chances that the floor pieces will have loaded by the time they have fallen that far.

The direction argument specifies an optional new direction to face, in degrees. If omitted, the user remains facing the same direction as they were before the teleport. A direction of 0 is facing directly North, 90 is facing West, 180 is facing South, and 270 is facing East. This argument may also be made relative by placing a + or - in front.

Examples

    bump teleport aw

This creates an object that sends the user to Ground Zero of OW world when bumped.

    bump teleport 100n 100w 1.5a 180

When bumped this object will send the user to the location 100N 100W in the current world, at 15 meters above the ground and facing directly South.

    activate teleport +0 +0 +10a

This creates on object that sends the user 100 meters directly up from their current location when they click on it. Note that +0 +0 needs to be specified for the coordinates even though only the altitude is to be modified.

Note: The teleport command cannot be used with the create trigger nor the adone trigger.