Returns information about the texture used for highlighting zones in a continent map on mouseover


See also Map functions.

Signature:

name, fileName, texCoordX, texCoordY, textureX, textureY, scrollChildX, scrollChildY = UpdateMapHighlight(cursorX, cursorY)

Arguments:

  • cursorX - Horizontal position of the mouse cursor relative to the current world map (0 = left edge, 1 = right edge) (number)
  • cursorY - Vertical position of the unit relative to the current world map (0 = top, 1 = bottom) (number)

Returns:

  • name - The name of the zone being highlighted (string)
  • fileName - Unique part of the path to the highlight texture for the zone; full path follows the format "Interface\\WorldMap\\"..fileName.."\\"..fileName.."Highlight" (string)
  • texCoordX - Right texCoord value for the highlight texture (number)
  • texCoordY - Bottom texCoord value for the highlight texture (number)
  • textureX - Width of the texture as a proportion of the world map's width (number)
  • textureY - Height of the texture as a proportion of the world map's height (number)
  • scrollChildX - Horizontal position of the texture's top left corner relative to the current world map (0 = left edge, 1 = right edge) (number)
  • scrollChildY - Vertical position of the texture's top left corner relative to the current world map (0 = top, 1 = bottom) (number)