Quantcast
WoWInterface - View Single Post - make better / BuffFrame:Hide();
View Single Post
09-26-20, 01:49 AM   #1
jlrm365
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Oct 2007
Posts: 78
Question make better / BuffFrame:Hide();

I found a brilliant UI addon, but it still shows the auras / buffs in the top right corner.
I'm not a coder, but read through the LUA of a few addons and found:
Code:
"BuffFrame:Hide();"
I was able to make that work with /run BuffFrame:Hide();
It seemed smart to put it into an addon, so came up with:
Code:
function events:PLAYER_ENTERING_WORLD()
	BuffFrame:Hide();
end
It was put into the correct toc and lua configuration, so that wasn't the problem.
Simply changing the lua to just that one thing - to just "BuffFrame:Hide();" (no more lines or words) - made it work.

The thing is that I'm sure that can't be the slickest / most friendly to the game way to do it.
I'd simply like to hide that Buff frame utterly and always. What would be the simplest way to use "BuffFrame:Hide();" to do so?

Thanks!
  Reply With Quote