Anyone know how via lua get list of all bosses on map?
I found how to get quest markers:
Lua Code:
for _, poiType in pairs(WorldMapPOIFrame.poiTable) do
for _, poiButton in pairs(poiType) do
print(poiButton.questID);
if ( poiButton.used ) then
local _, posX, posY = QuestPOIGetIconInfo(poiButton.questID);
WorldMapPOIFrame_AnchorPOI(poiButton, posX, posY, WORLD_MAP_POI_FRAME_LEVEL_OFFSETS.TRACKED_QUEST);
end
end
end
But not a boss markers.
We have such markers on map in Broken Shore (actually bosses + ship)