Perhaps you forgot to set the script ?
You need to set the script for every frame you register the events to.
local function onevent(self, event, ...)
[...]
end
GUIPartyFrame.HealthEvents:SetScript("OnEvent", onevent)
GUIPartyFrame.ManaEvents:SetScript("OnEvent", onevent)
[...]
__________________
The cataclysm broke the world ... and the pandas could not fix it!
|