Areatrigger_teleport - cmangos/issues GitHub 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 Null Key Default Extra
id mediumint(8) unsigned NO PRI 0
name text YES
required_level tinyint(3) unsigned NO 0
required_item mediumint(8) unsigned NO 0
required_item2 mediumint(8) unsigned NO 0
heroic_key mediumint(8) unsigned NO 0
heroic_key2 mediumint(8) unsigned NO 0
required_quest_done int(11) unsigned NO 0
required_quest_done_heroic int(11) unsigned NO 0
required_failed_text text YES
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
condition_id int(11) unsigned 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.

required_level

Level necessary to activate this trigger

required_item

The necessary item(s) to activate this trigger (see item_template.entry)

heroic_key

The key that unlocks heroic version for a trigger leading to an instatiable map with heroic mode support. If two are specified, you only need one to activate heroic mode.

required_quest_done

Required quest done as attunement to use the trigger (see quest_template.entry).

required_quest_done_heroic

Required Heroic quest done as attunement to use the trigger (see quest_template.entry).

required_failed_text

Failed text shown to players who do have not done the attunement quest yet.

target_map

Target map of the trigger (See Map.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

condition_id

Necessary conditions to trigger the teleport
Note: Use the condition ID only as a last measure. The other columns have associated errors, while this one does not.

⚠️ **GitHub.com Fallback** ⚠️