Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Returns Map Button info

x, y, instanceID, name, description, encounterID, rootSectionID, link = EJ_GetMapEncounter(index)

Arguments

index
Number - Map Button Index of the currently viewed Map
File:API EJ GetMapEncounter 01.png

Map Button

Returns

x
Number - X-coord
y
Number - Y-coord
instanceID
Number - Instance ID
name
String - Encounter Name
description
String - Encounter Description
encounterID
Number - Encounter ID
rootSectionID
Number - RootSection ID
link
String - Journal Link

Example

/dump EJ_GetMapEncounter(1)

=> 0.50291097164154, 0.39136898517609, 184, "Echo of Jaina", "The tormented fragment of Jaina Proudmoore has been split and infused within the shattered pieces of her staff. To restore balance to the timeways, this echo must be defeated. However, the devastating magical power possessed by the once-proud ruler of Theramore is hardly lost to her time-havocked spectre. In this future Azeroth, she is only divided, and waiting...", 285, 3641, "|cff66bbff|Hjournal:1:285:0|h[Echo of Jaina]|h|r"
local index = 1
while EJ_GetMapEncounter(index) do
	print(EJ_GetMapEncounter(index))
	index = index + 1
end

Details

Advertisement