WoW:API GetRealZoneText

From AddOn Studio
Revision as of 15:14, 2 January 2005 by WoWWiki>Mannoth (Returns the real name of the Zone, e.g. Loch Modan.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
GetRealZoneText
ZoneName = GetRealZoneText();

Returns the real name of the Zone, e.g. Loch Modan or Elwynn Forest.


Arguments
none

Returns
ZoneName
String - Returns the real name of the Zone, e.g. Loch Modan or Elwynn Forest.

Example
 ZoneName = GetRealZoneName();
 message("Zone:"..ZoneName);
Result
An error popup appears that could show the following text: "Zone: Loch Modan"