Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Shows a cooldown animation on a cooldown frame using UNIX time.

obj:SetCooldownUNIX(start, duration[, modRate])

Arguments[]

start
Number - The time when the cooldown started in UNIX time (as returned by time()). Zero if no cooldown.
duration
Number - Cooldown duration in seconds. Zero if no cooldown.
modRate
Number - The rate at which the animation should be updated.

Details[]

  • Calling this method will automatically show/hide the Cooldown widget. The widget, unless the animation is reversed, will also hide itself automatically when the animation completes.
  • As this function uses UNIX time, which updates in seconds, the cooldown will do the same. Compared to the smooth transition of Cooldown:SetCooldown, Cooldown:SetCooldownUNIX will cause the cooldown the jump forward every second.

See Also[]

Advertisement