Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:LogDisplayResetLineFadeTime

From RoR Wiki

UI Lua API · LogDisplay functions
Version: WAR 1.4.8

Makes all faded lines of a LogDisplay window visible again and restarts their fade.

LogDisplayResetLineFadeTime(displayName)

Arguments

displayName
string – Name of a LogDisplay window.

Returns

Nothing.

Details

  • Every line is set back to full opacity and its fade timer is reset.
  • Does nothing when the display's fade time is 0 (see LogDisplaySetTextFadeTime).
  • The stock UI never calls this function.

Errors

  • Error in function call 'TextLogDisplayResetLineFadeTime': Window %s does not exist
  • Error in function call 'TextLogDisplayResetLineFadeTime': Window %s is not a TextLogDisplay

Example

A minimal example built from the documented signature, showing the chat text again when the mouse enters a window:

function MyAddon.OnMouseOver()
    LogDisplayResetLineFadeTime( "MyLogDisplay" )
end

See also