View Single Post
03/17/23, 09:58 AM   #1
Shuba00
 
Shuba00's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2023
Posts: 20
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")
  Reply With Quote