ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   Is it possible to unregister an event registered on a timer (OnUpdate)? (https://www.esoui.com/forums/showthread.php?t=7247)

ArtOfShred 07/28/17 02:37 AM

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.

Shinni 07/28/17 02:42 AM

EVENT_MANAGER:UnregisterForUpdate(moduleNarme)


All times are GMT -6. The time now is 06:13 AM.

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