WoW:API GetRealZoneText: Difference between revisions
Jump to navigation
Jump to search
GetRealZoneText
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]] |
Revision as of 06:29, 22 January 2005
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 GetZoneText
- Arguments
- none
- Returns
- ZoneName
- String - The real name of an instance or the zone name
- Example
ZoneName = GetRealZoneName(); message("Zone:"..ZoneName);
- Result
- An error popup appears that could show the following text: "Zone: The Stockade"