Quantcast
Bosses list from map - WoWInterface
Thread Tools Display Modes
04-21-17, 08:04 AM   #1
Oniya
A Wyrmkin Dreamwalker
Join Date: Feb 2015
Posts: 57
Question Bosses list from map

Anyone know how via lua get list of all bosses on map?
I found how to get quest markers:

Lua Code:
  1. for _, poiType in pairs(WorldMapPOIFrame.poiTable) do
  2.    for _, poiButton in pairs(poiType) do
  3.       print(poiButton.questID);
  4.      
  5.      
  6.       if ( poiButton.used ) then
  7.          local _, posX, posY = QuestPOIGetIconInfo(poiButton.questID);
  8.          WorldMapPOIFrame_AnchorPOI(poiButton, posX, posY, WORLD_MAP_POI_FRAME_LEVEL_OFFSETS.TRACKED_QUEST);
  9.       end
  10.    end
  11. end
But not a boss markers.

We have such markers on map in Broken Shore (actually bosses + ship)


Last edited by Oniya : 04-21-17 at 08:06 AM.
  Reply With Quote
04-21-17, 08:36 AM   #2
Oniya
A Wyrmkin Dreamwalker
Join Date: Feb 2015
Posts: 57
I found
it's inside
Lua Code:
  1. C_WorldMap.GetMapLandmarkInfo(i);
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Bosses list from map

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