Thread Tools Display Modes
07-24-18, 12:23 AM   #1
candrid
Premium Member
 
candrid's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 61
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?

  Reply With Quote
07-24-18, 03:54 PM   #2
Vrul
A Scalebane Royal Guard
 
Vrul's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 404
Give this a try:
Code:
LevelUpDisplay:UnregisterEvent("PLAYER_LEVEL_UP")
  Reply With Quote
07-28-18, 03:41 AM   #3
candrid
Premium Member
 
candrid's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 61
Originally Posted by Vrul View Post
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...

Am I to understand "UnregisterEvent" turns off whatever you specify?
  Reply With Quote
07-28-18, 04:03 AM   #4
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
Originally Posted by candrid View Post
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.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Level Notification

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