Thread Tools Display Modes
Prev Previous Post   Next Post Next
09/25/18, 08:09 AM   #1
MasterLenman
Join Date: Oct 2016
Posts: 2
Unknown POI listed as MAP_PIN_TYPE_POI_SEEN

I'm currently updating the Destinations addon for Murkmire, and unknown points of interest were broken by this update. The addon used to check for them like this:
Lua Code:
  1. local zoneIndex = GetCurrentMapZoneIndex()
  2.  
  3. for poiIndex = 1, GetNumPOIs(zoneIndex) do
  4.     local normalizedX, normalizedY, poiType = GetPOIMapInfo(zoneIndex, poiIndex)
  5.     local unknown = poiType == MAP_PIN_TYPE_INVALID
  6.     if unkown do ......... end
  7. end

Since 4.2.0 this no longer works, as poiType is now always MAP_PIN_TYPE_POI_SEEN, even if they are not shown to the player. Why was this changed? Does anyone know of a good new way to check for unknown POIs?
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » Unknown POI listed as MAP_PIN_TYPE_POI_SEEN

Thread Tools
Display Modes

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