Unless I misunderstand what you meant:
Originally Posted by Garkin
identifier (string) - unique identifier, you can use for example name of your addon or some kind of description. If you register the same identifier again, it will overwrite previous function call.
|
It does not overwrite the previously registered update.
If you try to register it twice (without unregistering):
Lua Code:
EVENT_MANAGER:RegisterForUpdate("DurabilityWarner", 5000, OnUpdate)
EVENT_MANAGER:RegisterForUpdate("DurabilityWarner", 1000, SomeOtherUpdate)
It will still call OnUpdate, every 5000 ms. The second register does nothing.