[AddOn | Script] Disable Red Action Bars

#1 - Nov. 29, 2012, 2:33 a.m.
Blizzard Post
Credit where it's due. Thaya @ Outland-EU came up with the script. +rep him here:
http://www.arenajunkies.com/topic/234247-disabling-red-bars-working-method/

If you're not wanting to make it into a macro, you can simply use an addon that I wrote(in about 5 seconds) to fix this instead.

AddOn:
http://www.mediafire.com/download.php?rstnhs03hiabt2g


Macro:
/run 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)


Script:
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)


Place the script in any main .lua file, or use one of the first 2 options.

I only built it easy-to-use, Thaya came up with the script.

Peace out.
Forum Avatar
Community
#6 - Nov. 29, 2012, 4:21 p.m.
Blizzard Post
As disabling the red action bars in the new loss of control UI is something that some players would like to do but the option is not currently available in the game, I am blue tagging this thread for visibility. :)
Forum Avatar
Community
#8 - Nov. 29, 2012, 4:31 p.m.
Blizzard Post
29/11/2012 16:25Posted by Prosít
A blue! Quick twist all he said to adress issues not releated at all!
Eep!
*Runs away*