WoW API: QuestMapGetPOIInfoForQuest

From AddOn Studio
Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API QuestMapGetPOIInfoForQuest to API QuestMapGetPOIInfoForQuest without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < QuestMapGetPOIInfoForQuest

Returns details about a point of interest on the map.

local mapID, x, y, icon, text = QuestMapGetPOIInfoForQuest(questIndex, poiIndex) 

Parameters

Arguments

  • questIndex (number) - The quest log index for the quest of interest
  • poiIndex (number) - The index of the Point of Interest on the map

Returns

  • mapID (number) - This may be a number or GUID - not really sure
  • x (number) - The X position on the map of the queried item
  • y (number) - The y position on the map of the queried item
  • icon (string) - Icon texture name? of the queried item
  • text (string) - Text about the queried item

Notes

  • This function was added in patch 3.2 (August, 2009)

See also