Quantcast Seperate action bar art if current character is level 60? - WoWInterface
Thread Tools Display Modes
09-20-19, 10:33 AM   #1
tyrone77
A Defias Bandit
Join Date: Nov 2014
Posts: 2
Seperate action bar art if current character is level 60?

Hi!

So I'm currently using BattleforAzerothUI in Classic. My question is if there is any simple code additions one could make to hide the EXP bar to free up some screen space when the played character is at lvl 60? My hope is that this would automatically reposition the icons like it does once you hit lvl 60 with the default UI. Otherwise I'm pretty sure I could figure out the correct positions if I knew how to differentiate between lvl 60s and non lvl 60s in code.

Thanks!
  Reply With Quote
09-20-19, 12:42 PM   #2
LudiusMaximus
A Flamescale Wyrmkin
 
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 114
This is how I am doing it for WOW_PROJECT_MAINLINE:

Code:
UnitLevel("player") >= MAX_PLAYER_LEVEL
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Seperate action bar art if current character is level 60?

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