Lore archive · Warcraft Wiki, 2023 dump
API GetMapOverlayInfo
Last wiki revision 2020-04-04
Returns the information about an overlay on the current world map. textureName, texWidth, texHeight, ofsX, ofsY, mapX, mapY = GetMapOverlayInfo(overlayIndex);
- overlayIndex : Number - Indicates which overlay to query (from 1 to GetNumMapOverlays)
- 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.
Source
https://warcraft.wiki.gg/wiki/API_GetMapOverlayInfo · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.