Found some problems with this one:
If I log in in the Tavern in Lakeshire (for example), this API method returns (called after PLAYER_ENTERING_WORLD) "Gasthaus Lakeshire" (german client, Gasthaus is german word for tavern).
After changing zone via ZONE_CHANGED_NEW_AREA (returning to Redridge mts. from Duskwood e.g.) it returns "Redridgegebirge". So it returns different values depending on entering the zone from outside or logging on in the tavern in the zone.
GetRealZoneText() returns "Redridgegebirge" in both cases.
Any ideas why this is happening? --flokru 06:07, 29 Mar 2005 (EST)
- I experimented with this a little for ZoneLevel. It seems that this method and GetMinimapZoneText work very similarly. GetRealZoneText returns the name of the entire zone (Redridge, Westfall, Duskwood, etc.) I'll do some testing and see if I can work out a pattern for any differences between GetZoneText and GetMinimapZoneText --The Nerd Wonder 11:41, 29 Mar 2005 (EST)
This is most likely used to check whether abilities unable to be used inside (such as mounts, entangling roots etc.) are able to be used in that zone. For example, trying to mount up in an Inn will result into 'You cannot do that here' due to this trigger. (Sorry for the vague explanation, my English is not that good and I only just started looking into Lua :) )Jeoh 11:31, 14 August 2006 (EDT)