Quantcast
make better / BuffFrame:Hide(); - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » make better / BuffFrame:Hide();

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off