yeah I have used the event "ACTIVE_TALENT_GROUP_CHANGED"
I put this into an alpha script and it seems to work, I think I need to add another event though, the bar disappeared a few times in ICC today.
Code:
local a = CreateFrame("Frame")
a:RegisterEvent("ACTIVE_TALENT_GROUP_CHANGED")
a:RegisterEvent("PLAYER_UPDATE_RESTING")
a:RegisterEvent("PLAYER_REGEN_ENABLED")
a:RegisterEvent("PLAYER_REGEN_DISABLED")
a:RegisterEvent("PLAYER_ENTERING_WORLD")
a:SetScript("OnEvent", function(self,event)
if event == "PLAYER_ENTERING_WORLD" then
EclipseBarFrame:SetAlpha(0.2)
elseif event == "ACTIVE_TALENT_GROUP_CHANGED" then
EclipseBarFrame:SetAlpha(0.2)
elseif event == "PLAYER_UPDATE_RESTING" then
EclipseBarFrame:SetAlpha(0.2)
elseif event == "PLAYER_REGEN_ENABLED" then
EclipseBarFrame:SetAlpha(0.2)
else
EclipseBarFrame:SetAlpha(1)
end
end)