Skip to content

TargeterDefinitionCone

Class Documentation

Edit documentation

A targeting indicator that draws a cone on the ground, with its apex at startLocator and aimed at endLocator. If the two positions coincide, the cone aims along fallbackDirection.

The range of the cone is the growing range of coneRange and the rangeGrowth* properties.

Properties

coneAngleDegrees

Option<F32> = null
Edit documentation

Angle of the cone, in degrees. If it is not set, the spell's castConeAngle applies.

coneFollowsEnd

Bool = false
Edit documentation

If the aim point is farther from the apex than the range, moves the apex toward the aim point so the cone ends at the aim point.

coneRange

Option<F32> = null
Edit documentation

Base range of the cone, in world units, before range growth. If it is not set, the spell's castConeDistance applies.

hasMaxGrowRange

Bool = false
Edit documentation

Draws a second cone at the maximum of the range growth, with the textureConeMaxGrowName texture. Its range is rangeGrowthMax if that is set, otherwise mCastRangeGrowthMax at the spell level.

textureConeMaxGrowName

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

Texture of the maximum growth cone. Same fallback as textureConeOverrideName.

textureConeOverrideName

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

Texture of the cone. If it is empty, the ConicRangeIndicator texture of SharedTargeterResources applies.