areatrigger
Structure
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| SpawnId | bigint | unsigned | PRI | NO | |||
| AreaTriggerCreatePropertiesId | int | unsigned | NO | ||||
| IsCustom | tinyint | unsigned | NO | ||||
| MapId | int | unsigned | NO | ||||
| SpawnDifficulties | varchar(100) | NO | 0 | ||||
| PosX | float | NO | |||||
| PosY | float | NO | |||||
| PosZ | float | NO | |||||
| Orientation | float | NO | |||||
| PhaseUseFlags | tinyint | unsigned | YES | 0 | |||
| PhaseId | int | unsigned | YES | 0 | |||
| PhaseGroup | int | unsigned | YES | 0 | |||
| ScriptName | varchar(64) | NO | '' | ||||
| Comment | varchar(255) | YES | NULL | ||||
| VerifiedBuild | int | signed | NO | 0 | |||
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.
| Name | Value |
|---|---|
| DIFFICULTY_NONE | 0 |
| DIFFICULTY_NORMAL | 1 |
| DIFFICULTY_HEROIC | 2 |
| DIFFICULTY_10_N | 3 |
| DIFFICULTY_25_N | 4 |
| DIFFICULTY_10_HC | 5 |
| DIFFICULTY_25_HC | 6 |
| DIFFICULTY_LFR | 7 |
| DIFFICULTY_MYTHIC_KEYSTONE | 8 |
| DIFFICULTY_40 | 9 |
| DIFFICULTY_3_MAN_SCENARIO_HC | 11 |
| DIFFICULTY_3_MAN_SCENARIO_N | 12 |
| DIFFICULTY_NORMAL_RAID | 14 |
| DIFFICULTY_HEROIC_RAID | 15 |
| DIFFICULTY_MYTHIC_RAID | 16 |
| DIFFICULTY_LFR_NEW | 17 |
| DIFFICULTY_EVENT_RAID | 18 |
| DIFFICULTY_EVENT_DUNGEON | 19 |
| DIFFICULTY_EVENT_SCENARIO | 20 |
| DIFFICULTY_MYTHIC | 23 |
| DIFFICULTY_TIMEWALKING | 24 |
| DIFFICULTY_WORLD_PVP_SCENARIO | 25 |
| DIFFICULTY_5_MAN_SCENARIO_N | 26 |
| DIFFICULTY_20_MAN_SCENARIO_N | 27 |
| DIFFICULTY_PVEVP_SCENARIO | 29 |
| DIFFICULTY_EVENT_SCENARIO_6 | 30 |
| DIFFICULTY_WORLD_PVP_SCENARIO_2 | 32 |
| DIFFICULTY_TIMEWALKING_RAID | 33 |
| DIFFICULTY_PVP | 34 |
| DIFFICULTY_NORMAL_ISLAND | 38 |
| DIFFICULTY_HEROIC_ISLAND | 39 |
| DIFFICULTY_MYTHIC_ISLAND | 40 |
| DIFFICULTY_PVP_ISLAND | 45 |
| DIFFICULTY_NORMAL_WARFRONT | 147 |
| DIFFICULTY_HEROIC_WARFRONT | 149 |
| DIFFICULTY_LFR_15TH_ANNIVERSARY | 151 |
| DIFFICULTY_VISIONS_OF_NZOTH | 152 |
| DIFFICULTY_TEEMING_ISLAND | 153 |
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
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 -
