Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:WindowStopScaleAnimation

From RoR Wiki

UI Lua API · Window functions
Version: WAR 1.4.8

Stops a window's scale animation.

WindowStopScaleAnimation(windowName)

Arguments

windowName
string – Name of the window.

Returns

Nothing.

Details

  • Stops the animation started with WindowStartScaleAnimation.
  • For the animation types SINGLE, LOOP, REPEAT, POP and POP_AND_EASE, the window (and its descendants) go back to the scale the window had when the animation was started. For the other types the current scale stays.
  • If the window has no scale animation, nothing happens.
  • The stock UI never calls WindowStopScaleAnimation.

Errors

  • Error in function call 'WindowStopScaleAnimation': Window %s does not exist
  • Error in function call 'WindowStopScaleAnimation': Window %s is currently locked and may not be modified from lua. ...
    This check never triggers in the current client. See WindowSetShowing.

Example

A minimal example built from the signature above:

WindowStopScaleAnimation( "MyWindow" )

See also