Wikia

WoWWiki

API GetRealZoneText

Talk0
102,281pages on
this wiki
Revision as of 00:45, October 9, 2012 by Celess22 (Talk | contribs)

WoW API < 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 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"

Around Wikia's network

Random Wiki