Back-to:World

The `areatrigger_template_actions` table

This table contains the description of areatrigger actions.

Structure


Field

Type

Attributes

Key

Null

Default

Extra

Comment

areatrigger_template_actions#AreaTriggerId

int(10)

unsigned

PRI

NO



areatrigger_template.Id

areatrigger_template_actions#IsServerSidetinyint(1)unsignedPRINO

areatrigger_template.IsServerSide

areatrigger_template_actions#ActionType

int(10)

unsigned


NO




areatrigger_template_actions#ActionParam

int(10)

unsigned


NO




areatrigger_template_actions#TargetTypeint(10)unsigned
NO0


Description of the fields

AreaTriggerId


ActionType

IDNameActionParam
0AREATRIGGER_ACTION_CASTSpell ID
1AREATRIGGER_ACTION_ADDAURASpell ID
2AREATRIGGER_ACTION_TELEPORTworld_safe_locs.ID

TargetType

IDName
0AREATRIGGER_ACTION_USER_ANY
1AREATRIGGER_ACTION_USER_FRIEND
2AREATRIGGER_ACTION_USER_ENEMY
3AREATRIGGER_ACTION_USER_RAID
4AREATRIGGER_ACTION_USER_PARTY
5AREATRIGGER_ACTION_USER_CASTER
6AREATRIGGER_ACTION_USER_MAX