don't know how to detect zone change
Hello,
I'm new to lua, and I was trying to create an addon, nothing to much complicated.
i wanted to detect EVENT_ZONE_CHANGED, but can't detect anything.
EVENT_MANAGER:RegisterForEvent(NiceT.name, EVENT_EVENT_ZONE_CHANGED , NiceT.OnPlayerZoneChanged)
EVENT_MANAGER:RegisterForEvent(NiceT.name, EVENT_EVENT_ZONE_CHANGED , NiceT.OnPlayerZoneU)
I'm Using this two event manager, and can't see nothing in debug window(just made a little function that when it's called does just d("Hello1") or d("hello2")
|