Back to 'achievement_scripts' Return to world Go to 'areatrigger_create_properties'
Field | Type | Attributes | Key | Null | Default | Extra | Comment |
---|---|---|---|---|---|---|---|
SpawnId | bigint | unsigned | PRI | NO | |||
AreaTriggerId | int | unsigned | NO | ||||
IsServerSide | tinyint | unsigned | NO | ||||
MapId | int | unsigned | NO | ||||
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 | |||
Shape | tinyint | unsigned | NO | 0 | |||
ShapeData0 | float | NO | 0 | ||||
ShapeData1 | float | NO | 0 | ||||
ShapeData2 | float | NO | 0 | ||||
ShapeData3 | float | NO | 0 | ||||
ShapeData4 | float | NO | 0 | ||||
ShapeData5 | float | NO | 0 | ||||
ShapeData6 | float | NO | 0 | ||||
ShapeData7 | float | NO | 0 | ||||
ScriptName | varchar(64) | NO | '' | ||||
Comment | varchar(255) | YES | NULL |
A unique identifier given to each areatrigger to distinguish one areatrigger from another. Two areatriggers can NOT have same SpawnId.
The ID of the areatrigger_template that is used when instantiating this areatrigger.
0 = False
1 = True
If True
then the spawn is not sent to client via SMGS_UPDATE_OBJECT
packet (e.g. instance entries/exists)
Nevertheless there are still clientsided areatriggers for content before Legion addon.
You can see them inside AreaTrigger.db2
The ID of the map that the areatrigger is spawned on.
The X position of the areatrigger spawn point.
- no description -
The Y position of the areatrigger spawn point.
The Z position of the areatrigger spawn point.
The orientation of the areatrigger spawn point. (North = 0.0; South = pi (3.14159))
Mask value. Part of the phasing system
PHASE_USE_FLAGS_NONE = 0x0,
PHASE_USE_FLAGS_ALWAYS_VISIBLE = 0x1,
PHASE_USE_FLAGS_INVERSE = 0x2,
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.
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.
Shape determines the general design of an areatrigger.
ID | Name |
---|---|
0 | AREATRIGGER_TYPE_SPHERE |
1 | AREATRIGGER_TYPE_BOX |
2 | AREATRIGGER_TYPE_UNK |
3 | AREATRIGGER_TYPE_POLYGON |
4 | AREATRIGGER_TYPE_CYLINDER |
5 | AREATRIGGER_TYPE_DISK |
6 | AREATRIGGER_TYPE_BOUNDED_PLANE |
The data changes depending on the Type.
SPHERE | BOX | UNK | POLYGON | CYLINDER | DISK | BOUNDED PLANE | |
---|---|---|---|---|---|---|---|
ShapeData0 | Radius | ExtentsX | - | Height | Radius | InnerRadius | ExtentsX |
ShapeData1 | RadiusTarget | ExtentsY | - | HeightTarget | RadiusTarget | InnerRadiusTarget | ExtentsY |
ShapeData2 | - | ExtentsZ | - | - | Height | OuterRadius | ExtentsTargetX |
ShapeData3 | - | ExtentsTargetX | - | - | HeightTarget | OuterRadiusTarget | ExtentsTargetY |
ShapeData4 | - | ExtentsTargetY | - | - | LocationZOffset | Height | - |
ShapeData5 | - | ExtentsTargetZ | - | - | LocationZOffsetTarget | HeightTarget | - |
ShapeData6 | - | - | - | - | - | LocationZOffset | - |
ShapeData7 | - | - | - | - | - | LocationZOffsetTarget | - |
- no description -
This field is for any comment you want to make about the requirements. It is arbitrary text.
Back to 'achievement_scripts' Return to world Go to 'areatrigger_create_properties'