View Single Post
10-21-10, 12:35 PM   #15
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
Some additional info, since patch 4.0.1, most zone maps now have corner coordinates supplied through GetCurrentMapZone().

Example:
Code:
id, left, top, right, bottom = GetCurrentMapZone();
Note that world, continent, and instance maps don't supply usable data for these extra returns and may return nil or zero. Each continent also has their own origin point.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)