View Single Post
01/19/18, 04:36 PM   #3
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
I had wondered about that, so I had thrown a sloppy function together to just output it to chat like so:

lua Code:
  1. function zonedata(code,zonename,subzonename,newsubzone,zoneid,subzoneid)
  2.     d(zonename.." "..subzonename.." "..newsubzone.." "..zoneid.." "..subzoneid)
  3. end
  4.  
  5. EVENT_MANAGER:RegisterForEvent('TEST',EVENT_ZONE_UPDATE,zonedata)

But it didn't do anything. I'm not logged in at the moment, but I'm now wondering if the chat is unloaded at the time of the function call...
  Reply With Quote