GetRealZoneText

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Returns the map instance name.

zone = GetRealZoneText([instanceID])

Arguments

instanceID
number?  : InstanceID - When omitted, returns current instanceID name.

Returns

zone
string - The name of the map instance.

Details

  • Returns the name of the map instance which can be different from GetZoneText()
  • The returned zone name is localized to the game client's language.

Example

Returns the current zone.

/dump GetRealZoneText()
> "Stormwind City"

Returns the name of a specific instanceID.

/dump GetRealZoneText(451)
> "Development Land"