0xc8f6a648
Bool = false No documentation available yet. Click "Add documentation" to contribute!
PBE 16.23 changes this class. This page shows the live definition. PBE changes
A targeting indicator that draws a skillshot line
from startLocator toward endLocator: a base piece and an arrow head, each with its
own texture.
Visibility. The line draws only if the EnableLineMissileVis game setting is on or
alwaysDraw is set. A width of 0 or less also skips it.
Length. The range is the growing range of
overrideBaseRange and the rangeGrowth* properties. The length L is
factor * max(minimumDisplayedRange, range), where factor is 1 unless facingLine
sets it. If start and end coincide, the line points along fallbackDirection.
Mode. The line is global if indicatorType is an
IndicatorTypeGlobal, or if indicatorType is not set
and useGlobalLineIndicator is true. Otherwise it is local. In global mode, and
in local mode when lineStopsAtEndPosition is true, the line is no longer than the
distance from start to end.
arrowSize of the line, or the whole line
if it is shorter, with the target texture. If L is greater than arrowSize, the
base texture covers the rest, from the start to the head.arrowSize long. The base piece starts at the start
position and the target piece starts at distance L. If L is not greater than
arrowSize and the indicator is not floating (IndicatorTypeGlobal.mIsFloating),
only the target piece draws, at the start position.Facing. If facingLine is set, the client compares the caster's facing with the
line direction every frame. Inside the window from minAngle to maxAngle the length
factor goes from minAngleRangeFactor to maxAngleRangeFactor with the angle, and the
line has full brightness. Within fadeAngle outside the window the brightness falls to
0, and beyond that it is 0. The brightness scales the red, green and blue of the
colour and leaves alpha unchanged.
Bool = false No documentation available yet. Click "Add documentation" to contribute!
Bool = false Draws the line even when the EnableLineMissileVis game setting is off.
F32 = 0 Length of the arrow head, in world units. 0 uses 500 in global mode and 200 in local mode.
Embed<DrawablePositionLocator> {
"orientationType": 0,
"basePosition": 0,
"angleOffsetRadian": 0,
"distanceOffset": 0
}Point that the line aims at. It sets the direction, and the length limit in global mode or with lineStopsAtEndPosition.
Bool = false Turns on the facing rule, see Facing above.
Bool = true If it is false, the line keeps full brightness at every angle.
F32 = 0 Width, in degrees, of the band outside the window over which the brightness falls to 0.
U32 = 1 Direction of the line when start and end coincide, from the orientation table of DrawablePositionLocator.
Bool = false Draws a second line at the maximum of the range growth, with the
textureBaseMaxGrowName and textureTargetMaxGrowName textures. Its length is
rangeGrowthMax if that is set, otherwise mCastRangeGrowthMax at the spell level.
It always uses the local layout and is not scaled by the facing factor.
Selects global or local mode, see Mode above. If it is set, useGlobalLineIndicator is ignored.
Option<Bool> = null In local mode, limits the length to the distance from start to end when true. If it is not set, the spell's mProjectTargetToCastRange decides.
Width of the line, in world units. If it is unset, the spell's mLineWidth applies.
Bool = false Moves the start to the height of the end, so the line is level at the height of the end position.
Bool = false In local mode, extends the line by half of arrowSize, so the middle of the arrow head sits on the end point.
F32 = 180 End of the facing window, in degrees. Clamped to 0-180. If minAngle is greater than maxAngle, the window covers every angle.
F32 = 1 Length factor at maxAngle.
F32 = 0 Start of the facing window, in degrees between the caster's facing and the line. Clamped to 0-180.
F32 = 1 Length factor at minAngle.
F32 = 50 Shortest length that the line draws at, in world units, before the facing factor.
Embed<FloatPerSpellLevel> = { "mValueType": 0, "mPerLevelValues": [0, 0, 0, 0, 0, 0] } Base range of the line, in world units. If it is unset, the display cast range of the spell applies. See range growth.
Embed<FloatPerSpellLevel> = { "mValueType": 0, "mPerLevelValues": [0, 0, 0, 0, 0, 0] } Duration of the range growth, see TargeterDefinitionRange.
Embed<FloatPerSpellLevel> = { "mValueType": 0, "mPerLevelValues": [0, 0, 0, 0, 0, 0] } Maximum of the range growth, see TargeterDefinitionRange.
Embed<FloatPerSpellLevel> = { "mValueType": 0, "mPerLevelValues": [0, 0, 0, 0, 0, 0] } Start of the range growth, see TargeterDefinitionRange.
Embed<DrawablePositionLocator> {
"orientationType": 0,
"basePosition": 0,
"angleOffsetRadian": 0,
"distanceOffset": 0
}Start of the line, see DrawablePositionLocator.
File = "0x0" String File Texture of the base piece of the maximum growth line. Loaded only with hasMaxGrowRange. Same fallback as textureBaseOverrideName.
File = "0x0" String File Texture of the base piece. If it is empty, the base line texture of the mode applies.
File = "0x0" String File Texture of the arrow head of the maximum growth line. Loaded only with hasMaxGrowRange. Same fallback as textureTargetOverrideName.
File = "0x0" String File Texture of the arrow head. If it is empty, the target line texture of the mode applies.
Bool = false Selects global mode when indicatorType is not set.