Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:WindowStopAlphaAnimation

From RoR Wiki
Revision as of 19:52, 16 October 2026 by Maintenance script (talk | contribs) (UI Lua API import (WAR 1.4.8))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UI Lua API · Window functions
Version: WAR 1.4.8

Stops a window's alpha animation.

WindowStopAlphaAnimation(windowName)

Arguments

windowName
string – Name of the window.

Returns

Nothing.

Details

  • Stops the animation started with WindowStartAlphaAnimation.
  • For the animation types SINGLE, LOOP, REPEAT, POP and POP_AND_EASE, the window's alpha and font alpha go back to the values they had when the animation was started. For the other types the current values stay.
  • The ..._HIDE types do not hide the window when they are stopped.
  • If the window has no alpha animation, nothing happens.
  • There is no lock check in this function.

Errors

  • Error in function call 'WindowStopAlphaAnimation': Window %s does not exist

Example

From eatemplate_unitframes/source/bufftracker.lua:

if ( self.m_IsFading == true )
then
    WindowStopAlphaAnimation( self:GetName() )
    self.m_IsFading = false
end

See also