Jump to content

Nomad

Member Since 17 Jul 2008
Offline Last Active Oct 06 2013 10:53 PM
-----

#3812651 Disabling red bars - working method

Posted Thaya on 29 November 2012 - 02:06 AM

f=CreateFrame("Frame") f:RegisterEvent("LOSS_OF_CONTROL_ADDED") f:RegisterEvent("LOSS_OF_CONTROL_UPDATE") f:SetScript("OnEvent",function() for b in pairs(ActionBarActionEventsFrame.frames) do b.cooldown:SetLossOfControlCooldown(0,0) end end)

Choose one:
  • download and install this addon: http://www.mediafire...rstnhs03hiabt2g - it just runs the script above;
  • or put the script above in an addon you always run in its main .lua file;
  • or create your own addon to run the script above - a simple guide is in my signature;
  • or simply /run the script above in-game every time you log in.

Update 1: added a downloadable addon.

Update 2: updated both the script and the download with a more efficient version - it'll run only when you actually do get controlled instead of on every action bar update/event. Save yourself some CPU cycles.
Spoiler

Update 3: a version that hooks into Bartender as well: http://www.wowinterf...rolRemover.html


<