WoW API: GetQuestWorldMapAreaID

From AddOn Studio
Jump to navigation Jump to search

WoW API < GetQuestWorldMapAreaID

Gets the mapID of the closest objective of a given questID.

mapId, floorNumber = GetQuestWorldMapAreaID(questId)

Arguments[edit]

questId
Number - QuestID

Returns[edit]

mapId
Number - The mapID of the closest objective to the player, or 0 if the player is not on the given quest.
floorNumber
Number - The sub level of instance? 0 if worldmap location.

See Also[edit]

Sources[edit]