WoW:API GetSubZoneText: Difference between revisions

m
no edit summary
m (Bot: Fixing wiki syntax)
mNo edit summary
Line 26: Line 26:
;''Description''
;''Description''


: Returns the subzone text, if the player is a subzone. The event '"ZONE_CHANGED"' is triggered when the text changes. See also the related functions [[API_GetMinimapZoneText|GetMinimapZoneText]] and [[API_GetZoneText|GetZoneText]].
: Returns the subzone text, if the player is in a subzone. The event '"ZONE_CHANGED"' is triggered when the text changes. See also the related functions [[API_GetMinimapZoneText|GetMinimapZoneText]] and [[API_GetZoneText|GetZoneText]].
: Additional note: Blizzard also registers the event '''ZONE_CHANGED_INDOORS'''. If you know what this event is used for, please edit the page.
: Additional note: Blizzard also registers the event '''ZONE_CHANGED_INDOORS'''. If you know what this event is used for, please edit the page.


The event '''ZONE_CHANGED_INDOORS''' is fired (for example) when you walk from "Dun Morogh" into "Ironforge". This sample [http://www.wowace.com/wiki/WelcomeHome_-_Your_first_Ace2_Addon Your first Ace2 Addon] doesn't work when you walk that way cause it is missing the last zone change.
The event '''ZONE_CHANGED_INDOORS''' is fired (for example) when you walk from "Dun Morogh" into "Ironforge". This sample [http://www.wowace.com/wiki/WelcomeHome_-_Your_first_Ace2_Addon Your first Ace2 Addon] doesn't work when you walk that way cause it is missing the last zone change.
Anonymous user