Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API ScrollingMessageFrame SetTimeVisible

Last wiki revision 2008-07-14

Set the time, lines added to a ScrollingMessageFrame are visible before they start to fade.

ScrollingMessageFrame:SetTimeVisible(seconds);

  • Arguments
  • (Number seconds)
  • seconds : The time, lines added to the ScrollingMessageFrame are visible, before they start to fade.
  • Returns
  • nil

DEFAULT_CHAT_FRAME:SetTimeVisible(15);

  • Example

Changes the visible time for lines added or updated to 15 seconds.

  • Result
  • SetTimeVisible(seconds) doesn't affect already visible lines, unless these are updated.
  • A way to update them is to call one of the Scroll methods.
  • Settings a value of 0 or below, means lines begin to fade immediately.
  • Calling this method has the same affect as setting the ScrollingMessageFrame XML attribute "displayDuration".
  • See also ScrollingMessageFrame:SetFading([isEnabled]) and ScrollingMessageFrame:SetFadeDuration(seconds).

Source

https://warcraft.wiki.gg/wiki/API_ScrollingMessageFrame_SetTimeVisible · 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.