Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

API GetMapOverlayInfo

From WoW Classic Wiki
GetMapOverlayInfo -Documentation by Flickering-
textureName, texWidth, texHeight, ofsX, ofsY, mapX, mapY = GetMapOverlayInfo(overlayIndex);

Returns the information about an overlay on the current world map.


Arguments
(overlayIndex)
overlayIndex
Number - Indicates which overlay to query (from 1 to GetNumMapOverlays())

Returns
textureName, texWidth, texHeight, ofsX, ofsY, mapX, mapY
textureName
String - The path of the overlay texture
texWidth
Number - The width of the resulting texture in pixels.
texHeight
Number - The height of the resulting texture in pixels.
ofsX
Number - X direction pixel offset of the overlay texture from the map texture
ofsY
Number - Y direction pixel offset of the overlay texture from the map texture
mapX
Number - Unknown - always 0 and not used in UI.
mapY
Number - Unknown - always 0 and not used in UI.

Template:WoW API