WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   Level Notification (https://www.wowinterface.com/forums/showthread.php?t=56424)

candrid 07-24-18 12:23 AM

Level Notification
 
Hello All,

When you level, say for example, 1 to 2, WoW throws up a little graphic that says "Level 2."

Is there a way to disable that?


Vrul 07-24-18 03:54 PM

Give this a try:
Code:

LevelUpDisplay:UnregisterEvent("PLAYER_LEVEL_UP")

candrid 07-28-18 03:41 AM

Quote:

Originally Posted by Vrul (Post 328941)
Give this a try:
Code:

LevelUpDisplay:UnregisterEvent("PLAYER_LEVEL_UP")

Wow, that WORKED! Thanks SO much.

Sorry for the late reply. I was trying to figure it out and actually forgot about the post... :rolleyes:

Am I to understand "UnregisterEvent" turns off whatever you specify?

myrroddin 07-28-18 04:03 AM

Quote:

Originally Posted by candrid (Post 329111)
Am I to understand "UnregisterEvent" turns off whatever you specify?

Correct. It takes the name of an event as its argument. There is also UnregisterAllEvents which takes no arguments, and unhooks all events on the defined element, usually a frame.


All times are GMT -6. The time now is 03:38 PM.

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