game_tele
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 .tele add/.tele delete commands.
Structure
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| id | int | unsigned | PRI | NO | |||
| position_x | float | NO | 0 | ||||
| position_y | float | NO | 0 | ||||
| position_z | float | NO | 0 | ||||
| orientation | float | NO | 0 | ||||
| map | smallint | unsigned | NO | 0 | |||
| name | varchar(100) | NO | '' | ||||
Description of fields
id
The ID of the teleport location. This number is unique to every location added.
position_x
The x-axis coordinate of the teleport location. This can be attained by using the .gps command.
position_y
The y-axis coordinate of the teleport location. This can be attained by using the .gps command.
position_z
The z-axis coordinate of the teleport location. This can be attained by using the .gps command.
orientation
The direction that the player will face after arriving at the teleport location. This can be attained by using the .gps command. (North = 0, South = 3.14159)
map
The Map ID of the location.
name
The name given to the location. The name must not have a space as this will be read in from the .tele command.
