WoW:API QuestMapGetPOIInfoForQuest: Difference between revisions
Jump to navigation
Jump to search
(Created page with '{{wowapi}} __NOTOC__ {{Stub/API}} Returns details about a point of interest on the map (see also QuestMapGetQuestName(index) and [[API QuestMapUpda...') |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} | ||
Returns details about a point of interest on the map. | |||
local mapID, x, y, icon, text = QuestMapGetPOIInfoForQuest(questIndex, poiIndex) | |||
mapID, x, y, icon, text = QuestMapGetPOIInfoForQuest(questIndex, poiIndex) | |||
== Parameters == | == Parameters == | ||
=== Arguments === | === 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 === | === 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) | * This function was added in patch 3.2 (August, 2009) | ||
[[ | == See also == | ||
* [[API QuestMapGetQuestName|QuestMapGetQuestName(index)]] | |||
* [[API QuestMapUpdateQuest|QuestMapUpdateQuest(index)]]) |
Revision as of 01:02, 11 February 2021
← 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)