changed to illustrate difference with instances.
m (Put back category) |
(changed to illustrate difference with instances.) |
||
| Line 3: | Line 3: | ||
ZoneName = GetRealZoneText(); | ZoneName = GetRealZoneText(); | ||
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 - | :;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: | :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]] | ||