WoW:API SetMapToCurrentZone

From AddOn Studio
Revision as of 13:12, 23 November 2004 by WoWWiki>Meog
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
SetMapToCurrentZone -Documentation by Meog-

Sets the zoom to the zone the player is currently in

SetMapToCurrentZone()

Arguments
none

Returns
nil

Example
SetMapToCurrentZone();
Result
World map zoom changes (if necessary)

Description
Sets the zoom to the zone the player is currently in.
Important note: This function seems to have a bug after "reloadui". Then it only sets the zoom to the continent the player is on and not to the zone until the zone changes at least once.

Template:WoW API