WoW:API ProcessMapClick

Revision as of 19:47, 22 November 2004 by WoWWiki>Meog
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
ProcessMapClick -Documentation by Meog-

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

ProcessMapClick(ax, ay)

Arguments
Number ax, Number ay
ax
x position of the click (in percent, relative to WorldMapDetailFrame)
ay
y position of the click (in percent, relative to WorldMapDetailFrame)

Returns
nil

Example
ProcessMapClick(0.456742343, 0.623435432);
Result
Changes the world map zoom to another zone, if Blizzard has defined the region of the click as a link.

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

Template:WoW API