GetSubZoneText

From Warcraft Wiki
Jump to navigation Jump to search

Returns the subzone name.

subzone = GetSubZoneText()

Returns

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

Example

Returns the subzone name where the player is currently located. If not in a subzone, it returns an empty string.

/run print("Current SubZone: " .. GetSubZoneText())

Details

Related Events ZONE_CHANGED_INDOORS