Creates an opacity gradient over the text in the font string. Seen in the default UI when quest text is presented by a questgiver (if the "Instant Quest Text" feature is not turned on): This method is used with a length of 30 to fade in the letters of the description, starting at the first character; then the start value is incremented in an OnUpdate script, creating the animated fade-in effect.

Signature:

FontString:SetAlphaGradient(start, length)

Arguments:

  • start - Character position in the font string's text at which the gradient should begin (between 0 and string.len(fontString:GetText()) - 6) (number)
  • length - Width of the gradient in pixels, or 0 to restore the text to full opacity (number)