View Single Post
07/28/17, 02:37 AM   #1
ArtOfShred
 
ArtOfShred's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 103
Is it possible to unregister an event registered on a timer (OnUpdate)?

EVENT_MANAGER:RegisterForUpdate(moduleName, 5000, CA.PrintBufferedXP )

I see a lot of addons register this to a function called OnUpdate, and it ticks at that interval after being registered. Is there some way to unregister this event? I don't know how to reference it to stop it since it has a number in place of an event name.

Alternatively, I need to find some way to buffer without using zo_callLater.
  Reply With Quote