WoW:API GetMinimapZoneText: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API GetMinimapZoneText to API GetMinimapZoneText without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<center>'''GetMinimapZoneText''' ''-Documentation by [[user:Meog|Meog]]-''</center>
{{wowapi}}
 
Returns the zone text, that is displayed over the minimap
Returns the zone text, that is displayed over the minimap


Line 14: Line 13:


:String minimapzonetext
:String minimapzonetext
:;minimapzonetext : string, that ist currently shown over the minimap
:;minimapzonetext : string, that is currently shown over the minimap


----
----
Line 28: Line 27:


: Returns the zone text, that is displayed over the minimap. The event <tt>"MINIMAP_ZONE_CHANGED"</tt> is triggered, when the text changes. It equals [[API_GetSubZoneText|GetSubZoneText]] if the player is in a subzone and [[API_GetZoneText|GetZoneText]] if the player is not in a subzone.
: Returns the zone text, that is displayed over the minimap. The event <tt>"MINIMAP_ZONE_CHANGED"</tt> is triggered, when the text changes. It equals [[API_GetSubZoneText|GetSubZoneText]] if the player is in a subzone and [[API_GetZoneText|GetZoneText]] if the player is not in a subzone.
----
{{Template:WoW API}}
[[Category:API Functions|GetMinimapZoneText]]
[[Category:API Location Functions|GetMinimapZoneText]]

Latest revision as of 04:46, 15 August 2023

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.