API GetQuestWorldMapAreaID

From Wowpedia
Jump to: navigation, search

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

mapId, floorNumber = GetQuestWorldMapAreaID(questId)

Arguments

questId 
Number - QuestID

Returns

mapId 
Number - The WorldMapAreaID 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