WoW API: SetMapToCurrentZone

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

WoW API < SetMapToCurrentZone

Sets the current world map continent and zone to be the zone the player is currently in.

SetMapToCurrentZone()

Example[edit]

SetMapToCurrentZone();

Result[edit]

World map zoom changes (if necessary).

Details[edit]

After an interface reload, this function only sets the zoom to the continent the player is on and not to the zone until the zone changes at least once.