Navigation menu

WoW:API GetRealZoneText: Difference between revisions

Jump to navigation Jump to search
changed to illustrate difference with instances.
m (Put back category)
(changed to illustrate difference with instances.)
Line 3: Line 3:
  ZoneName = GetRealZoneText();
  ZoneName = GetRealZoneText();


Returns the real name of the Zone, e.g. Loch Modan or Elwynn Forest.
When in an instance, returns the real name of the instance, not the name in the Minimap. (e.g. returns "The Stockade" whereas GetZoneText() returns "Stormwind Stockade"). Otherwise is identical to [[API_GetZoneText|GetZoneText]]


----
----
Line 13: Line 13:
;''Returns''
;''Returns''


:;ZoneName : String - Returns the real name of the Zone, e.g. Loch Modan or Elwynn Forest.
:;ZoneName : String - The real name of an instance or the zone name


----
----
Line 24: Line 24:
;''Result''
;''Result''


:An error popup appears that could show the following text: "Zone: Loch Modan"
:An error popup appears that could show the following text: "Zone: The Stockade"


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