{{wowapi}}
No edit summary |
({{wowapi}}) |
||
| Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | |||
ZoneName = GetRealZoneText(); | ZoneName = GetRealZoneText(); | ||
| Line 5: | Line 5: | ||
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]] | 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]] | ||
==Parameters== | |||
===Arguments=== | |||
:none | :none | ||
===Returns=== | |||
:;ZoneName : String - The real name of an instance or the zone name | :;ZoneName : String - The real name of an instance or the zone name | ||
==Example== | |||
ZoneName = GetRealZoneText(); | ZoneName = GetRealZoneText(); | ||
message("Zone:"..ZoneName); | message("Zone:"..ZoneName); | ||
:An error popup appears that could show the following text: "Zone: The Stockade" | :An error popup appears that could show the following text: "Zone: The Stockade" | ||