Skip to content

areatrigger_template_actions

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
AreaTriggerIdintunsignedPRINO
IsCustomtinyintunsignedPRINO
ActionTypeintunsignedNO
ActionParamintunsignedNO
TargetTypeintunsignedNO0
 

Description of fields ​

AreaTriggerId ​

ID from areatrigger_template.  

IsCustom ​

Describes whether AreaTriggerId of this row is a custom id or not.  

ActionType ​

IDName
0AREATRIGGER_ACTION_CAST
1AREATRIGGER_ACTION_ADDAURA
2AREATRIGGER_ACTION_TELEPORT
3AREATRIGGER_ACTION_TAVERN
 

ActionParam ​

Depending on the ActionType the ActionParam fullfills a different purpose.

ActionTypeActionParam
AREATRIGGER_ACTION_CASTSpellID
AREATRIGGER_ACTION_ADDAURASpellID
AREATRIGGER_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