View difference between Paste ID: WuPPkYCH and
SHOW:
|
|
- or go back to the newest paste.
1 | - | |
1 | + | local frame = CreateFrame("FRAME", "DefaultUIScrips") |
2 | frame:RegisterEvent("PLAYER_ENTERING_WORLD") | |
3 | local function eventHandler(self, event, ...) | |
4 | ||
5 | for i = 1, 12 do _G["ActionButton"..i.."HotKey"]:SetAlpha(0) end | |
6 | for i = 1, 12 do _G["BonusActionButton"..i.."HotKey"]:SetAlpha(0) end | |
7 | for i = 1, 12 do _G["MultiBarBottomLeftButton"..i.."HotKey"]:SetAlpha(0) end | |
8 | for i = 1, 12 do _G["MultiBarBottomRightButton"..i.."HotKey"]:SetAlpha(0) end | |
9 | ||
10 | for i = 1, 12 do _G["ActionButton"..i.."HotKey"]:SetAlpha(0) end;for i = 1, 12 do _G["BonusActionButton"..i.."HotKey"]:SetAlpha(0) end;for i = 1, 12 do _G["MultiBarBottomLeftButton"..i.."HotKey"]:SetAlpha(0) end;for i = 1, 12 do _G["MultiBarBottomRightButton"..i.."HotKey"]:SetAlpha(0) end | |
11 | ||
12 | end | |
13 | frame:SetScript("OnEvent", eventHandler) |