Lore archive · Warcraft Wiki, 2023 dump
API Cooldown SetLossOfControlCooldown
Last wiki revision 2020-11-24
Shows a loss-of-control cooldown animation. Cooldown:SetLossOfControlCooldown(startTime, duration)
- startTime : Number - the time when the cooldown started (as returned by ).
- duration: Number - duration of the cooldown effect in seconds.
Create Frame and Cooldown (See Cooldown:SetCooldown for details) local f = CreateFrame("Frame") f:SetSize(64, 64) f:SetPoint("CENTER") f:SetBackdrop({bgFile = "Interface\\Icons\\Trade_Engineering"}) local cd = CreateFrame("Cooldown") cd:SetAllPoints(f) Display a 2-second cooldown animation cd:SetLossOfControlCooldown(GetTime, 2)
Source
https://warcraft.wiki.gg/wiki/API_Cooldown_SetLossOfControlCooldown · 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.