Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

UIHANDLER OnFinished

Last wiki revision 2013-01-16

The OnFinished handler is called when an Animation or AnimationGroup is finished.

  • self : the Animation or AnimationGroup that finished
  • requested : true if the Animation or AnimationGroup finished because of a call to self:Finish, false otherwise

local fadeout = myFrame:CreateAnimationGroup local anim = fadeout:CreateAnimation("Alpha") anim:SetDuration(.5) anim:SetChange(-myFrame:GetAlpha) anim:SetOrder(1) fadeout:SetScript("OnFinished", function myFrame:Hide end)

Source

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