Skip to content

TargeterDefinitionMultiAOE

Class Documentation

Edit documentation

A targeting indicator that draws a fan of area circles: numOfInnerAOE + 2 circles at the same distance from centerLocator, spread by angelOffsetRadian around the direction from the caster to the cursor.

The distance d is the distance from the center to the cursor, limited by overrideMinCastRange and overrideMaxCastRange where they are set. With n the value of numOfInnerAOE, circle i (from 0 to n + 1) sits at

center + rotate(dir, (i - (n + 1) / 2) * angelOffsetRadian) * d

where dir is the direction from the caster to the cursor. Circle 0 uses leftTextureName, circle n + 1 uses rightTextureName, and the circles between use innerTextureName.

Properties

angelOffsetRadian

F32 = 0
Edit documentation

Angle between two neighbouring circles, in radians.

innerTextureName

File = "0x0"
Type history (2 revisions)
  • 13.15 - 16.16 String
  • since 16.17 File
Edit documentation

Texture of the circles between the first and the last. Same fallback as leftTextureName.

leftTextureName

File = "0x0"
Type history (2 revisions)
  • 13.15 - 16.16 String
  • since 16.17 File
Edit documentation

Texture of the first circle. If it is empty, the AoeRangeIndicator texture of SharedTargeterResources applies.

numOfInnerAOE

U32 = 0
Edit documentation

Number of circles between the first and the last. The fan always has these two, so 0 draws two circles.

overrideAOERadius

Embed<FloatPerSpellLevel> = { "mValueType": 0, "mPerLevelValues": [0, 0, 0, 0, 0, 0] }
Edit documentation

Radius of each circle, in world units. If it is unset, the spell's castRadius at the spell level applies.

overrideMaxCastRange

Embed<FloatPerSpellLevel> = { "mValueType": 0, "mPerLevelValues": [0, 0, 0, 0, 0, 0] }
Edit documentation

Largest distance of the circles from the center, in world units. Not applied when unset.

overrideMinCastRange

Embed<FloatPerSpellLevel> = { "mValueType": 0, "mPerLevelValues": [0, 0, 0, 0, 0, 0] }
Edit documentation

Smallest distance of the circles from the center, in world units. Not applied when unset.

rightTextureName

File = "0x0"
Type history (2 revisions)
  • 13.15 - 16.16 String
  • since 16.17 File
Edit documentation

Texture of the last circle. Same fallback as leftTextureName.