Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API ProcessMapClick

Last wiki revision 2020-04-04

Passes a click on the map to the client, which then calculates if the zone has to be changed

ProcessMapClick(x, y)

  • 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)

ProcessMapClick(0.456742343, 0.623435432);

  • Changes the world map zoom to another zone, if Blizzard has defined the region of the click as a link.

This is one of Blizzard's "magic" functions. It set the world map zoom in dependence on the click coordinates, issuing appropriate events.

Source

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