Difference between revisions of "Areatrigger teleport SF"

From Project Skyfire
Jump to navigation Jump to search
 
Line 3: Line 3:
 
|}
 
|}
 
{{Back-to:World}}
 
{{Back-to:World}}
[[Category: SkyFire World database tables]]
 
  
 
<big>'''The `areatrigger_teleport` table'''</big>
 
<big>'''The `areatrigger_teleport` table'''</big>
Line 106: Line 105:
  
 
The orientation to spawn the player (0 = North, moving clockwise. Circle is Pi*2).
 
The orientation to spawn the player (0 = North, moving clockwise. Circle is Pi*2).
 +
 +
[[DB:World|Return to world database structure]]

Latest revision as of 06:13, 9 January 2013

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[edit]

The ID# of the areatrigger. Contained in AreaTrigger.dbc.

name[edit]

The name for the areatrigger. Used for easy reference purposes.

target_map[edit]

The ID# of the map to teleport to. Contained in Maps.dbc.

target_position_x[edit]

The X coordinate to spawn the player.

target_position_y[edit]

The Y coordinate to spawn the player.

target_position_z[edit]

The Z coordinate to spawn the player.

target_orientation[edit]

The orientation to spawn the player (0 = North, moving clockwise. Circle is Pi*2).

Return to world database structure