WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   Seperate action bar art if current character is level 60? (https://www.wowinterface.com/forums/showthread.php?t=57526)

tyrone77 09-20-19 10:33 AM

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!

LudiusMaximus 09-20-19 12:42 PM

This is how I am doing it for WOW_PROJECT_MAINLINE:

Code:

UnitLevel("player") >= MAX_PLAYER_LEVEL


All times are GMT -6. The time now is 01:15 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI