Back-to:World
The `game_tele` table
This table contains a list of teleport locations that can be used with the .tele command in-game. Entries in this table can be added/deleted manually or with the .addtele/.deltele commands.
Structure
Field |
Type |
Attributes |
Key |
Null |
Default |
Extra |
Comment |
mediumint(8) |
unsigned |
PRI |
NO |
NULL |
Auto increment |
|
|
float |
signed |
|
NO |
0 |
|
|
|
float |
signed |
|
NO |
0 |
|
|
|
float |
signed |
|
NO |
0 |
|
|
|
float |
signed |
|
NO |
0 |
|
|
|
smallint(5) |
unsigned |
|
NO |
0 |
|
|
|
varchar(100) |
signed |
|
NO |
NULL |
|
|
Description of the fields
id
The ID of the teleport location. This number is unique to every location added.
position_x
The X position where the location exists.
position_y
The Y position where the location exists.
position_z
The Z position where the location exists.
orientation
The orientation to face after teleport. (North = 0, South = 3.14159)
map
The map ID of the location. See Map.dbc
name
The name given to the location. The name must not have a space as this will be read in from the .tele command.