WoW:API GetMinimapZoneText: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 31: Line 31:
----
----
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Functions|GetMinimapZoneText]]
[[Category:API Location Functions|GetMinimapZoneText]]

Revision as of 15:00, 4 January 2006

GetMinimapZoneText -Documentation by Meog-

Returns the zone text, that is displayed over the minimap

GetMinimapZoneText();

Arguments
none

Returns
String minimapzonetext
minimapzonetext
string, that ist 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.

Template:WoW API