Wikia

WoWWiki

Watchlist Recent changes

API Frame UnregisterEvent

Main Menue



Unregisters an event that the object is currently monitoring.

obj:UnregisterEvent("event");

Parameters Edit

Arguments Edit

"event" 
The name of the event the object wishes to no longer monitor. See Events.

Returns Edit

nil

Example Edit

myChatAddon:UnregisterEvent("CHAT_MSG");

Result Edit

Code in the <OnEvent> section of your addon would no longer fire anytime a chat message was received.

Details Edit

Unregisters an event that an object is currently monitoring. Note: LUA is a case-sensitive language - there is no function called 'UnRegisterEvent'.
See also: Frame:RegisterEvent

Pages on WoWWiki

94,146pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,612photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki