Originally Posted by Fizzlemizz
GetMinimapZoneText() will get the current zone text.
If you want to update it while moving, use events:
PLAYER_ENTERING_WORLD
ZONE_CHANGED
ZONE_CHANGED_INDOORS
ZONE_CHANGED_NEW_AREA
Edit: You can also use GetZonePVPInfo() to get the zone type, sanctuary, contested, friendly, hostile, arena.
|
That returns the player's zone, i need the zone which is shown on the map, not the minimap.