Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API ScrollingMessageFrame SetFadeDuration

Last wiki revision 2008-07-14

Set the fade duration (the time it takes from the line starts to fade till it's hidden) of lines added to a ScrollingMessageFrame.

ScrollingMessageFrame:SetFadeDuration(seconds);

  • Arguments
  • (Number seconds)
  • seconds : The duration of the fade in seconds.
  • Returns
  • nil

DEFAULT_CHAT_FRAME:SetFadeDuration(15);

  • Example

Changes the fade duration for lines added or updated to 15 seconds (very slow fade).

  • Result
  • SetFadeDuration(seconds) doesn't affect already visible lines, unless these are updated.
  • A way to update them is to call one of the Scroll methods.
  • The default fade duration seems to be 3 seconds.
  • See also ScrollingMessageFrame:SetFading([isEnabled]) and ScrollingMessageFrame:SetTimeVisible(seconds).

Source

https://warcraft.wiki.gg/wiki/API_ScrollingMessageFrame_SetFadeDuration · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.