WoW API: GetSubZoneText

WoW API < GetSubZoneText

Returns the subzone name.

subzone = GetSubZoneText();

Returns

subzone
String - subzone name or an empty string (if not in a subzone).

Related events

One or more of the following fire when the player enters a new zone:

See also