WoW API: GetMinimapZoneText

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk) (Move page script moved page API GetMinimapZoneText to API GetMinimapZoneText without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetMinimapZoneText

Returns the zone text, that is displayed over the minimap

GetMinimapZoneText();

Arguments
none

Returns
String minimapzonetext
minimapzonetext
string, that is currently shown over the minimap

Example
local minimapzonetext = GetMinimapZoneText();

Result
"Trade District"

Description
Returns the zone text, that is displayed over the minimap. The event "MINIMAP_ZONE_CHANGED" is triggered, when the text changes. It equals GetSubZoneText if the player is in a subzone and GetZoneText if the player is not in a subzone.