View Single Post
Unread 10-05-08, 06:11 PM   #41
garnerh42
A Deviate Faerie Dragon
 
garnerh42's Avatar
Join Date: Nov 2006
Posts: 11
Hiding Cooldown

Starting with latest oUF and oUF_Ammo layout. I'm using OmniCC for cooldown numbers, but I'd prefer not to show the numbers or clock animation.

I found the block of code in aura.lua that shows or hides the cooldown on the icon, but I haven't been able to figure out what code to call in oUF_Ammo to turn it off permanently. I can, of course, comment out the block of code, but then I'd have to do that every time I get a new version.

I also tried creating my own PostUpdateAuraIcon like looked like this:

Code:
-- params omitted for brevity
local function myPostUpdateAuraIcon ( ... )
    if icon.cd then
        icon.cd:Hide()
    end
end
But that code didn't work. Can someone point me in the right direction, please?
__________________
Grynn (80 Druid), Trig (80 Rogue), Krajen (80 Warrior), Jovix (80 Hunter), Sqeeve (80 Mage) on Cenarion Circle
garnerh42 is offline