Skip to content

areatrigger_create_properties

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
IdintunsignedPRINO
IsCustomtinyintunsignedPRINO
AreaTriggerIdintunsignedNO
IsAreatriggerCustomtinyintunsignedNO
FlagsintunsignedNO0
MoveCurveIdintunsignedNO0
ScaleCurveIdintunsignedNO0
MorphCurveIdintunsignedNO0
FacingCurveIdintunsignedNO0
AnimIdintsignedNO-1
AnimKitIdintsignedNO0
DecalPropertiesIdintunsignedNO0
SpellForVisualsintsignedYESNULL
TimeToTargetScaleintunsignedNO0
SpeedfloatNO1
ShapetinyintunsignedNO0
ShapeData0floatNO0
ShapeData1floatNO0
ShapeData2floatNO0
ShapeData3floatNO0
ShapeData4floatNO0
ShapeData5floatNO0
ShapeData6floatNO0
ShapeData7floatNO0
ScriptNamevarchar(64)NO''
VerifiedBuildintunsignedNO0
 

Description of fields ​

Id ​

This ID is the MiscValue of spells with effect SPELL_EFFECT_CREATE_AREATRIGGER, SPELL_EFFECT_183 or EffectAura SPELL_AURA_AREA_TRIGGER, which spawn areatrigger entities. May also be arbitrary id if IsCustom field is set.  

IsCustom ​

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

AreaTriggerId ​

The ID of the areatrigger_template that is used when instantiating this areatrigger.  

IsAreatriggerCustom ​

Describes whether referenced AreaTriggerId is a custom id or not.  

Flags ​

FlagName
0x00001HasAbsoluteOrientation
0x00002HasDynamicShape
0x00004HasAttached
0x00008HasFaceMovementDir
0x00010HasFollowsTerrain (NYI)
0x00020Unk1
0x00040HasTargetRollPitchYaw (NYI)
0x00080HasAnimId (DEPRECATED)
0x00100Unk3
0x00200HasAnimKitId (DEPRECATED)
0x00400HasCircularMovement (DEPRECATED)
0x00800Unk5
 

MoveCurveId ​

- no description -  

ScaleCurveId ​

- no description -  

MorphCurveId ​

- no description -  

FacingCurveId ​

- no description -  

AnimId ​

- no description -  

AnimKitId ​

- no description -  

DecalPropertiesId ​

- no description -  

SpellForVisuals ​

SpellD from Spell.db2 which should be used for visuals.  

TimeToTargetScale ​

- no description -  

Speed ​

- no description -  

Shape ​

Shape determines the general design of an areatrigger.

IDName
0AREATRIGGER_TYPE_SPHERE
1AREATRIGGER_TYPE_BOX
2AREATRIGGER_TYPE_UNK
3AREATRIGGER_TYPE_POLYGON
4AREATRIGGER_TYPE_CYLINDER
5AREATRIGGER_TYPE_MAX
 

ShapeData0-7 ​

The data changes depending on the Shape.

SPHEREBOXUNKPOLYGONCYLINDER
ShapeData0RadiusExtentsXHeightRadius
ShapeData1RadiusTargetExtentsYHeightTargetRadiusTarget
ShapeData2-ExtentsZ-Height
ShapeData3-ExtentsTargetX-HeightTarget
ShapeData4-ExtentsTargetY-LocationZOffset
ShapeData5-ExtentsTargetZ-LocationZOffsetTarget
 

ScriptName ​

- no description -  

VerifiedBuild ​

This field is used by the TrinityDB Team to determine whether a template has been verified from WDB files.

If value is 0 then it has not been parsed yet.

If value is above 0 then it has been parsed with WDB files from that specific client build.

If value is -1 then it is just a place holder until proper data are found on WDBs.

If value is -Client Build then it was parsed with WDB files from that specific client build and manually edited later for some special necessity.