Jump to content

  • Curse Sites
Help

Script to hide Keybinds?


  • Please log in to reply
3 replies to this topic

#1 denkar

denkar
  • Junkies
  • Orcclass_name
  • US-Tichondrius
  • Bloodlust
  • Posts: 9
  • Talents: Restoration 0/0/1/1/0/0
  • RBG: 192

Posted 23 November 2012 - 09:17 AM

yo anyone have a script to hide keybinds that can be placed in a addon (not /run macro)
been trying the script below which was from the default UI scripts thread but it doesn't seem to work for me. When I run the macro "/run for i = 1, 12 do _G["MultiBarBottomLeftButton"..i.."HotKey"]:SetAlpha(0) end" it works fine but its a pain in the ass to press each time i reload and wastes macro space. Is there an updated script for this?

for i=1, 12 do
        _G["ActionButton"..i.."HotKey"]:SetAlpha(0) -- main bar
        _G
["BonusActionButton"..i.."HotKey"]:SetAlpha(0) -- swap bar (rogue/druid/warrior)
        _G["MultiBarBottomRightButton"..i.."HotKey"]:SetAlpha(0) -- bottom right bar
        _G
["MultiBarBottomLeftButton"..i.."HotKey"]:SetAlpha(0) -- bottom left bar
        _G
["MultiBarRightButton"..i.."HotKey"]:SetAlpha(0) -- right bar
        _G
["MultiBarLeftButton"..i.."HotKey"]:SetAlpha(0) -- left bar
end

#2 deprivelol

deprivelol

Posted 23 November 2012 - 09:19 AM

for i=1, 12 do
        _G["ActionButton"..i.."HotKey"]:SetAlpha(0)
        _G["MultiBarBottomRightButton"..i.."HotKey"]:SetAlpha(0)
        _G["MultiBarBottomLeftButton"..i.."HotKey"]:SetAlpha(0)
        _G["MultiBarRightButton"..i.."HotKey"]:SetAlpha(0)
        _G["MultiBarLeftButton"..i.."HotKey"]:SetAlpha(0)
        end

this one works

#3 denkar

denkar
  • Junkies
  • Orcclass_name
  • US-Tichondrius
  • Bloodlust
  • Posts: 9
  • Talents: Restoration 0/0/1/1/0/0
  • RBG: 192

Posted 23 November 2012 - 09:26 AM

View Postdeprivelol, on 23 November 2012 - 09:19 AM, said:

for i=1, 12 do
_G["ActionButton"..i.."HotKey"]:SetAlpha(0)
_G["MultiBarBottomRightButton"..i.."HotKey"]:SetAlpha(0)
_G["MultiBarBottomLeftButton"..i.."HotKey"]:SetAlpha(0)
_G["MultiBarRightButton"..i.."HotKey"]:SetAlpha(0)
_G["MultiBarLeftButton"..i.."HotKey"]:SetAlpha(0)
end

this one works
worked perfectly ty :3

#4 Thaya

Thaya
  • Moderators
  • Posts: 2458
  • LocationRussia

Posted 23 November 2012 - 10:39 AM

Yeah, its because BonusActionBar doesn't exist anymore
Default UI Scripts - Compilation & how-to




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

<