“spell_target_position” table¶
The spell_target_position
table holds coordinate information on
where a character should be teleported to when a spell with effect
SPELL_EFFECT_TELEPORT_UNITS is cast.
Table structure¶
Field | Type | Null | Key | Default | Extra |
---|---|---|---|---|---|
id | mediumint(8) unsigned | NO | PRI | 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¶
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.