AzerothCore
Posts (Latest 10 updated) :
Read all

areatrigger

<-Back-to:World

The `areatrigger` table

This table contains trigger points for events in certain coordinates in the maps.

Structure

Field

Type

Attributes

Key

Null

Default

Extra

Comment

entry

int (10)

unsigned

PRI

NO

NULL

auto_increment


map

int(10)

unsigned

PRI

NO

0



x

FLOAT


NO

0



y

FLOAT


NO

0



z FLOAT
NO 0

radius

FLOAT


NO

0



length

FLOAT


NO

0



width

FLOAT


NO

0



height

FLOAT


NO

0



orientation

FLOAT


NO

0



Description of the fields

Entry

This is just a automatic counter that assigns a value to each trigger to list it.

Map

This field recall a certain map based on the ID (for example, ID 30 recalls Elwynn Forest)

X, Y and Z

Contains the coordinates of the three 3d dimensions.

Radius

This contains the radius of activation of the trigger.

Length, Width, Height and Orientation

these fields contain the values for the physics and behavior of a given trigger.