Thread Tools Display Modes
01/24/16, 07:04 AM   #1
SnowmanDK
 
SnowmanDK's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 161
What exactly triggers EVENT_POI_UPDATED?

From what I can see, it triggers at odd times, which makes addons utilize extra cpu time for no reason.

A good example I have been made aware off, is if you run between the wayshrine and the guild traders in Belkarth.
It triggers around the bridge every time, but there is NO changes in the values it returns, and I already know all POI's in that zone. It doesn't even change between zone/submap.
Does it have to do with distance to POI's?
  Reply With Quote
01/24/16, 07:09 AM   #2
haggen
 
haggen's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2015
Posts: 137
I have no idea what's POI but the game use it to detect changes in the difficulty:
http://esodata.uesp.net/100010/src/i...ll.lua.html#35
  Reply With Quote
01/24/16, 07:18 AM   #3
SnowmanDK
 
SnowmanDK's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 161
Originally Posted by haggen View Post
I have no idea what's POI but the game use it to detect changes in the difficulty:
http://esodata.uesp.net/100010/src/i...ll.lua.html#35
That doesn't make sense to me
Then the difficulty changes in town when crossing a bridge in Belkarth?
  Reply With Quote
01/24/16, 07:37 AM   #4
Shinni
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 167
Whenever that event is fired, the worldmap removes and re adds all the poi pins. As undisovered POI are only visible when being nearby, I guess it's really just a distance indicator. It probably fires every time the player crosses the visiblity radius for a POI.
  Reply With Quote
01/25/16, 09:07 AM   #5
ZOS_ChipHilseberg
ZOS Staff!
Premium Member
Yes this person is from ZeniMax!
Join Date: Oct 2014
Posts: 551
It's sent when a POI changes state. When you enter or exit visibility range, discover it permanently, or complete it.
  Reply With Quote
01/25/16, 12:43 PM   #6
haggen
 
haggen's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2015
Posts: 137
Earlier when I read the post I thought to myself "how cool would be if Chip himself commented here" and now my dream has come true. Thank you Chip, you're the best.
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » What exactly triggers EVENT_POI_UPDATED?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off