WoW:API GetRealZoneText: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Returns the real name of the Zone, e.g. Loch Modan.)
 
m (Put back category)
Line 27: Line 27:


----
----
{{Template:WoW API}}
[[Category:API Location Functions|GetRealZoneText]]

Revision as of 19:19, 2 January 2005

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"

Template:WoW API