Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API UpdateMapHighlight

Last wiki revision 2020-04-04

name, fileName, texPctX, texPctY, texX, texY, scrollX, scrollY = UpdateMapHighlight(x, y); Provides rollover region detection for the map frame.

  • x : Number - X position of the click (A proportion between 0 and 1, relative to WorldMapDetailFrame)
  • y : Number - Y position of the click (A proportion between 0 and 1, relative to WorldMapDetailFrame)
  • name : String - The name of the area which is being pointed at.
  • fileName : String - The filename of the highlight texture to use, or if none.
  • texPctX : Number - Proportion of the highlight texture's full width to use (proportion from 0 to 1) this is a guess
  • texPctY : Number - Proportion of the highlight texture's full height to use (proportion from 0 to 1) this is a guess
  • texX : Number - The width of the highlight texture as a proportion of the map's width (between 0 and 1)
  • texY : Number - The height of the highlight texture as a proportion of the map's height (between 0 and 1)
  • scrollX : Number - The X location of the start of the highlight texture as a proportion of the map's width (between 0 and 1)
  • scrollY : Number - The Y location of the start of the highlight texture as a proportion of the map's height (between 0 and 1)

Source

https://warcraft.wiki.gg/wiki/API_UpdateMapHighlight · 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.