“areatrigger_teleport” table

The areatrigger_teleport table holds information which areatrigger teleports characters and the requirements to execute the teleport.

Table structure

Field Type Null Key Default Extra
id mediumint(8) unsigned NO PRI 0  
name text YES   NULL  
required_level tinyint(3) unsigned NO   0  
required_item mediumint(8) unsigned NO   0  
required_item2 mediumint(8) unsigned NO   0  
required_quest_done int(11) 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  

Fields

id

An areatrigger identifier. The value has to match with a areatrigger identifier defined in AreaTrigger.dbc.

name

The name for the areatrigger. This is only used for documentation purposes to help identifying triggers.

required_level

The minimum level required to activate the trigger.

required_item

Item required to activate the trigger. This references the “item_template” table tables unique ID for which the entry is valid.

required_item2

Another item required to activate the trigger. This references the “item_template” table tables unique ID for which the entry is valid.

required_quest_done

Quest required to be completed to activate the trigger. This references the “quest_template” table tables unique ID for which the entry is valid.

target_map

The target map’s identifier. The value has to match with a map identifier defined in Map.dbc.

target_position_x

The X position on the target map.

target_position_y

The Y position on the target map.

target_position_z

The Z position on the target map.

target_orientation

The orientation for the character on the target map. This is measured in radians, 0 is north on the mini-map and pi is south on the mini-map etc.