View Single Post
10-13-17, 07:35 PM   #2
Ammako
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 256
Use /fstack in chat and then mouse over it to get the exact frame name.

I don't have game time right now so I can't easily write something and test it on my own right now, since starter accounts can't form groups. Unless someone were willing to help with that.

You'd probably want to do something like this:

Lua Code:
  1. local frame = CreateFrame("frame")
  2. frame:RegisterEvent("ADDON_LOADED")
  3. frame:SetScript("OnEvent", function(self, event, ...)
  4.     if select(1, ...) == "Blizzard_CompactRaidFrames" then
  5.         frameName:SetAlpha(0)
  6.         frameName:HookScript("OnEnter", function() frameName:SetAlpha(1) end)
  7.         frameName:HookScript("OnLeave", function() frameName:SetAlpha(0) end)
  8.     end
  9. end)

(In this case frameName doesn't exist; I can't check the right frame name right now and I don't want to make any guesses, so you'll have to get the name of the frame with /fstack and replace frameName with it in the code.)

Also this is untested but this should be the general idea of what you might want to do. If it doesn't work it may just need a few tweaks.
  Reply With Quote