Actions

Difference between revisions of "Areatrigger teleport SF"

From Project Skyfire

 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
 
|'''Type'''
 
|'''Type'''
 
|'''Attribute'''
 
|'''Attribute'''
 +
|'''Key'''
 +
|'''Null'''
 
|'''Default'''
 
|'''Default'''
 
|'''Comment'''
 
|'''Comment'''
Line 21: Line 23:
 
|mediumint(8)
 
|mediumint(8)
 
|unsigned
 
|unsigned
|
+
|PRI
|The ID# of the areatrigger. Contained in AreaTrigger.dbc.
+
|NO
 +
|0
 +
|Identifier
 
|-
 
|-
 
|[[#name|name]]
 
|[[#name|name]]
 
|text
 
|text
 +
|signed
 +
|
 +
|YES
 
|
 
|
 
|
 
|
|The name for the areatrigger. Used for easy reference purposes.
 
 
|-
 
|-
 
|[[#target_map|target_map]]
 
|[[#target_map|target_map]]
Line 34: Line 40:
 
|signed
 
|signed
 
|
 
|
|The ID# of the map to teleport to. Contained in Maps.dbc.
+
|NO
 +
|0
 +
|
 
|-
 
|-
 
|[[#target_position_x|target_position_x]]
 
|[[#target_position_x|target_position_x]]
Line 40: Line 48:
 
|signed
 
|signed
 
|
 
|
|The X coordinate to spawn the player.
+
|NO
 +
|0
 +
|
 
|-
 
|-
 
|[[#target_position_y|target_position_y]]
 
|[[#target_position_y|target_position_y]]
Line 46: Line 56:
 
|signed
 
|signed
 
|
 
|
|The Y coordinate to spawn the player.
+
|NO
 +
|0
 +
|
 
|-
 
|-
 
|[[#target_position_z|target_position_z]]
 
|[[#target_position_z|target_position_z]]
Line 52: Line 64:
 
|signed
 
|signed
 
|
 
|
|The Z coordinate to spawn the player.
+
|NO
 +
|0
 +
|
 
|-
 
|-
 
|[[#target_orientation|target_orientation]]
 
|[[#target_orientation|target_orientation]]
Line 58: Line 72:
 
|signed
 
|signed
 
|
 
|
|The orientation to spawn the player (0 = North, moving clockwise. Circle is Pi*2).
+
|NO
 +
|0
 +
|
 
|}
 
|}
 +
 +
<br> <big>'''Description of the fields'''</big>
 +
 +
===id===
 +
 +
The ID# of the areatrigger. Contained in [[AreaTrigger.dbc SF|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 SF|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).

Revision as of 19:22, 6 July 2012

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


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).