WoW:API QuestMapGetPOIInfoForQuest: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API QuestMapGetPOIInfoForQuest to API QuestMapGetPOIInfoForQuest without leaving a redirect)
 
(No difference)

Latest revision as of 04:47, 15 August 2023

WoW API < QuestMapGetPOIInfoForQuest

Returns details about a point of interest on the map.

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

Parameters[edit]

Arguments[edit]

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

Returns[edit]

  • 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[edit]

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

See also[edit]