Skip to content

areatrigger_teleport Table

Defines where area triggers (like dungeon portals) teleport players, and the conditions required to use them.


Schema Summary

Field Type Key Null Default Extra
id mediumint(8) unsigned PRI NO 0
patch tinyint(3) unsigned PRI NO 0
name varchar(64) NO ''
message varchar(128) NO ''
required_level tinyint(3) unsigned NO 0
required_condition mediumint(8) unsigned NO 0
target_map smallint(5) unsigned NO 0
target_position_x float NO 0
target_position_y float NO 0
target_position_z float NO 0
target_orientation float NO 0

Field Breakdown

  • id - Primary Key. Areatrigger ID from areatrigger_template.entry.
  • patch - Primary Key. Content patch in which this version is active. The core loads the row with the highest patch value not exceeding the current patch. Patches start at 0 (1.2.4) and go to 10 (1.12.1).
  • name - Name of the destination. Not used by the core - purely descriptive.
  • message - Message sent to the client when the criteria are not met (e.g., "You are not high enough level"). This text is stored in Areatrigger.db2 in modern clients.
  • required_level - Minimum character level required.
  • required_condition - Condition ID from the conditions table that must be satisfied.
  • target_map - Destination map ID. (see map_template.entry)
  • target_position_x - Teleport destination coordinates inside target_map.
  • target_position_y - Destination Y coordinate.
  • target_position_z - Destination Z coordinate.
  • target_orientation - Facing direction upon arrival.