1. #1

    WoW Action Bar Alpha

    Hey Guys,

    Recently I've been using script commands to change the position of the default WoW Player Frames. And I wondered if it would be possible to use a WoW script command to change the alpha of Right Action Bar one and two to 0% or invisible unless they are moused over since they are usually the bars I use for buffs and only need them to show when I am needed to refresh buffs.

    So basically I want to know if there is a script command to change the alpha of right bar one and two to 0% or to make them completely invisible unless hovered over in which case they become 100% visible again.

  2. #2
    Deleted
    Code:
    MultiBarLeft:EnableMouse(true)
    MultiBarLeft:SetAlpha(0)
    MultiBarLeft:SetScript("OnEnter", function(self) self:SetAlpha(1) end)
    MultiBarLeft:SetScript("OnLeave", function(self) self:SetAlpha(0) end)
    local function hidebar1() MultiBarLeft:SetAlpha(0) end
    local function showbar1() MultiBarLeft:SetAlpha(1) end
    for btn=1,12 do
        _G["MultiBarLeftButton"..btn]:SetScript("OnEnter",showbar1)
        _G["MultiBarLeftButton"..btn]:SetScript("OnLeave",hidebar1)
    end
    MultiBarRight:EnableMouse(true)
    MultiBarRight:SetAlpha(0)
    MultiBarRight:SetScript("OnEnter", function(self) self:SetAlpha(1) end)
    MultiBarRight:SetScript("OnLeave", function(self) self:SetAlpha(0) end)
    local function hidebar2() MultiBarRight:SetAlpha(0) end
    local function showbar2() MultiBarRight:SetAlpha(1) end
    for btn=1,12 do
        _G["MultiBarRightButton"..btn]:SetScript("OnEnter",showbar2)
        _G["MultiBarRightButton"..btn]:SetScript("OnLeave",hidebar2)
    end
    How to use
    Last edited by mmocba105e19de; 2010-08-14 at 11:03 AM.

  3. #3
    Slight problem, whenever I save the files they always change from an ''All Files'' type to a ''Text Document'' type whenever I open them up to see if it is okay and has saved properly which also leaves it not working with WoW because of this.

  4. #4
    Quote Originally Posted by xXMercaderXx View Post
    Slight problem, whenever I save the files they always change from an ''All Files'' type to a ''Text Document'' type whenever I open them up to see if it is okay and has saved properly which also leaves it not working with WoW because of this.
    http://notepad-plus-plus.org/

  5. #5
    Scarab Lord
    15+ Year Old Account
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    4,040
    Or, my preference, http://www.pspad.com/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •