-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshowntell.lua
32 lines (26 loc) · 1.14 KB
/
showntell.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
------------------------------------------------------------------------
-- Setting up the local scope
------------------------------------------------------------------------
local _, Hyperbole = ...
local handler = CreateFrame("Frame")
local function null() end
------------------------------------------------------------------------
-- Functions
------------------------------------------------------------------------
function Hyperbole.PLAYER_LOGIN(...)
print('Hyperbole Loaded') -- debugging purposes
ObjectiveTrackerFrame:ClearAllPoints()
ObjectiveTrackerFrame:SetPoint('TOPLEFT', 25, -10)
ObjectiveTrackerFrame:SetHeight(UIParent:GetHeight() - 300)
ObjectiveTrackerFrame.SetPoint = null
ObjectiveTrackerFrame.ClearAllPoints = null
end
------------------------------------------------------------------------
-- Many Whelps, handle Events
------------------------------------------------------------------------
handler:SetScript('OnEvent', function(self, event, ...)
Hyperbole[event](self, event, ...)
end)
for k, v in pairs(Hyperbole) do
handler:RegisterEvent(k) -- Register all events for which handlers have been defined
end