Zwiebelchen
Hosted Project GR
- Joined
- Sep 17, 2009
- Messages
- 7,234
So I was tinkering around with UI natives to create a custom ability bar and good quite far. But I'm having some trouble implementing a cooldown clock on top of the ability icon.
So far, I've found a way to display the cooldown clock model from UI\\Feedback\\Cooldown\\UI-Cooldown-Indicator.mdl
I then found out I can use
But I can't figure out how to change the time scale of the animation. Something like
Any ideas or workarounds?
So far, I've found a way to display the cooldown clock model from UI\\Feedback\\Cooldown\\UI-Cooldown-Indicator.mdl
I then found out I can use
call BlzFrameSetSpriteAnimate(model, 2, 0)
to play the clock animation on the model and call BlzFrameSetSpriteAnimate(model, 1, 0)
to play the shiny glow once the cooldown finishes.But I can't figure out how to change the time scale of the animation. Something like
SetUnitTimeScale()
doesn't exist for the UI sprite native.Any ideas or workarounds?