Skip to content

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 ​

FieldTypeAttributesKeyNullDefaultExtraComment
idintunsignedPRINO
position_xfloatNO0
position_yfloatNO0
position_zfloatNO0
orientationfloatNO0
mapsmallintunsignedNO0
namevarchar(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.