Areatrigger teleport 548
Jump to navigation
Jump to search
Back to world database list of tables.
The `areatrigger_teleport` table
This table holds the information for "zone portals."
Structure
Field | Type | Attribute | Key | Null | Default | Comment |
id | mediumint(8) | unsigned | PRI | NO | 0 | Identifier |
name | text | signed | YES | |||
target_map | float | signed | 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 |
DB Structure
CREATE TABLE `areatrigger_teleport` ( `id` MEDIUMINT NOT NULL DEFAULT '0' COMMENT 'Identifier', `name` TEXT NULL COLLATE 'utf8_general_ci', `target_map` SMALLINT NOT NULL DEFAULT '0', `target_position_x` FLOAT NOT NULL DEFAULT '0', `target_position_y` FLOAT NOT NULL DEFAULT '0', `target_position_z` FLOAT NOT NULL DEFAULT '0', `target_orientation` FLOAT NOT NULL DEFAULT '0', PRIMARY KEY (`id`) USING BTREE, FULLTEXT INDEX `name` (`name`) ) COMMENT='Trigger System' COLLATE='utf8_general_ci' ENGINE=MyISAM ROW_FORMAT=FIXED ;
Description of the fields
id
The ID# of the areatrigger. Contained in AreaTrigger.dbc.
name
The name for the areatrigger. Used for easy reference purposes.
target_map
The ID# of the map to teleport to. Contained in Maps.dbc.
target_position_x
The X coordinate to spawn the player.
target_position_y
The Y coordinate to spawn the player.
target_position_z
The Z coordinate to spawn the player.
target_orientation
The orientation to spawn the player (0 = North, moving clockwise. Circle is Pi*2).