Skip to content

TargeterDefinitionSkipTerrain

Class Documentation

Edit documentation

A targeting indicator for a missile that passes over terrain: a line that shows which parts of its path cross walls, with a circle at the end. It works only as the mTargeterDefinition of a FixedDistanceIgnoringTerrain missile behaviour, which then replaces the spell's other indicators.

The line starts at mStartLocator and points toward mEndLocator. The locators set only the direction. The length is the cast range of the spell at the spell level, and the width is the spell's mLineWidth. The client finds the wall crossings along the line with the scan settings of the FixedDistanceIgnoringTerrain behaviour (mMaximumDistance, mMinimumGapBetweenTerrainWalls, mMaximumTerrainWallsToSkip, scanWidthOverride). It draws the parts outside walls with mBaseTextureName, the parts inside walls with mTerrainTextureName, and a circle at the end with mTargetTextureName.

Properties

mBaseTextureName

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

Texture of the parts of the line outside walls. If it is empty, the LineRangeLocalBase texture of SharedTargeterResources applies.

mEndLocator

Embed<DrawablePositionLocator>
Default value
{
  "orientationType": 0,
  "basePosition": 0,
  "angleOffsetRadian": 0,
  "distanceOffset": 0
}
Edit documentation

Point that sets the direction of the line. It does not change the length.

mTargetTextureName

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

Texture of the circle at the end of the line. If it is empty, the AoeRangeIndicator texture of SharedTargeterResources applies.

mTargetTextureRadius

F32 = 0
Edit documentation

Radius of the circle at the end, in world units.

mTerrainTextureName

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

Texture of the parts of the line inside walls. Same fallback as mBaseTextureName.

Referenced by 1 class · 1 property