Skip to content

areatrigger

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
SpawnIdbigintunsignedPRINO
AreaTriggerCreatePropertiesIdintunsignedNO
IsCustomtinyintunsignedNO
MapIdintunsignedNO
SpawnDifficultiesvarchar(100)NO0
PosXfloatNO
PosYfloatNO
PosZfloatNO
OrientationfloatNO
PhaseUseFlagstinyintunsignedYES0
PhaseIdintunsignedYES0
PhaseGroupintunsignedYES0
ScriptNamevarchar(64)NO''
Commentvarchar(255)YESNULL
VerifiedBuildintsignedNO0
 

Description of fields ​

SpawnId ​

A unique identifier given to each areatrigger to distinguish one areatrigger from another. Two areatriggers can NOT have same SpawnId.  

AreaTriggerCreatePropertiesId ​

References areatrigger_create_properties.Id  

IsCustom ​

Describes whether referenced AreaTriggerCreatePropertiesId is a custom id or not.  

MapId ​

The ID of the map that the areatrigger is spawned on.  

SpawnDifficulties ​

Comma separated list of difficulties.

NameValue
DIFFICULTY_NONE0
DIFFICULTY_NORMAL1
DIFFICULTY_HEROIC2
DIFFICULTY_10_N3
DIFFICULTY_25_N4
DIFFICULTY_10_HC5
DIFFICULTY_25_HC6
DIFFICULTY_LFR7
DIFFICULTY_MYTHIC_KEYSTONE8
DIFFICULTY_409
DIFFICULTY_3_MAN_SCENARIO_HC11
DIFFICULTY_3_MAN_SCENARIO_N12
DIFFICULTY_NORMAL_RAID14
DIFFICULTY_HEROIC_RAID15
DIFFICULTY_MYTHIC_RAID16
DIFFICULTY_LFR_NEW17
DIFFICULTY_EVENT_RAID18
DIFFICULTY_EVENT_DUNGEON19
DIFFICULTY_EVENT_SCENARIO20
DIFFICULTY_MYTHIC23
DIFFICULTY_TIMEWALKING24
DIFFICULTY_WORLD_PVP_SCENARIO25
DIFFICULTY_5_MAN_SCENARIO_N26
DIFFICULTY_20_MAN_SCENARIO_N27
DIFFICULTY_PVEVP_SCENARIO29
DIFFICULTY_EVENT_SCENARIO_630
DIFFICULTY_WORLD_PVP_SCENARIO_232
DIFFICULTY_TIMEWALKING_RAID33
DIFFICULTY_PVP34
DIFFICULTY_NORMAL_ISLAND38
DIFFICULTY_HEROIC_ISLAND39
DIFFICULTY_MYTHIC_ISLAND40
DIFFICULTY_PVP_ISLAND45
DIFFICULTY_NORMAL_WARFRONT147
DIFFICULTY_HEROIC_WARFRONT149
DIFFICULTY_LFR_15TH_ANNIVERSARY151
DIFFICULTY_VISIONS_OF_NZOTH152
DIFFICULTY_TEEMING_ISLAND153
 

PosX ​

The X position of the areatrigger spawn point.  

PosY ​

The Y position of the areatrigger spawn point.

PosZ ​

The Z position of the areatrigger spawn point.  

Orientation ​

The orientation of the areatrigger spawn point. (North = 0.0; South = pi (3.14159))  

PhaseUseFlags ​

Mask value. Part of the phasing system

bash
PHASE_USE_FLAGS_NONE            = 0x0,
PHASE_USE_FLAGS_ALWAYS_VISIBLE  = 0x1,
PHASE_USE_FLAGS_INVERSE         = 0x2,

 

PhaseId ​

If set the areatrigger is placed in the specific phase.

Only players in the same phase are able to "see" the areatrigger (if PhaseUseFlags does not contain PHASE_USE_FLAGS_ALWAYS_VISIBLE)

A full list of available phases can be taken from Phase.db2.  

PhaseGroup ​

Works similar as PhaseId, but the areatrigger can be placed inside multiple Phases this way.

The taken PhaseGroup might contains phases not needed, but are unused inside the phased area anyway.

A full list of available PhaseGroups can be taken from PhaseXPhaseGroup.db2's PhaseGroupID field.  

ScriptName ​

The name of the script that this areatrigger uses, if any. This ties a script from a scripting engine to this areatrigger.  

Comment ​

This field is for any comment you want to make about the requirements. It is arbitrary text.  

VerifiedBuild ​

- no description -