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