View Single Post
07/02/15, 12:44 PM   #10
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Originally Posted by ZunaSW View Post
Oh great! It works now! Now when I press the key while in Eastmarch, it shows Image1, when I press the key while in Stonefalls it shows Image2. Though, I think I'm not done yet, as if I travel from Stonefalls to Eastmarch and press the key again, it shows still Image2, when it should show Image1. I imagine this will be some kind of update event, right? Works perfectly if after travelling I make reloadui.

I think I should use EVENT_ZONE_UPDATE, but I'm not sure how to make this :S

Any ideas?

Many thanks for the help, really
Ah, yes. Traveling is player deactivate and activate rather than zone change. I guess you just need to omit the unregister of EVENT_PLAYER_ACTIVATED
  Reply With Quote