Areatrigger teleport tc2
From TrinityCore Wiki
|
Back to world database list of tables.
The `areatrigger_teleport` table
Contains all the teleport triggers definition. This table is used to complete .dbc file information.
Structure
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
| id | mediumint(8) | unsigned | PRI | NO | 0 | Identifier | |
| name | text | signed | YES | NULL | |||
| target_map | smallint(5) | unsigned | NO | 0 | |||
| target_position_x | float | signed | NO | 0 | |||
| target_position_y | float | signed | NO | 0 | |||
| target_position_z | float | signed | NO | 0 | |||
| target_orientation | float | signed | NO | 0 |
Description of the fields
id
This is the trigger identifier, it must match with the one from AreaTrigger.dbc
name
Name of the trigger. This can be an arbitrary name, and is for descriptive purposes only.
target_map
Target map of the trigger (see Maps.dbc).
target_position_x
X coordinate for the target destination of the trigger
target_position_y
Y coordinate for the target destination of the trigger
target_position_z
Z coordinate for the target destination of the trigger
target_orientation
Orientation the player will get when appearing at this location