WoW:API SetMapZoom

Revision as of 19:36, 22 November 2004 by WoWWiki>Meog
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetMapZoom -Documentation by Meog-

Sets the zoom to a specific zone

SetMapZoom(continent, zone)

Arguments
Number continent, Number zone
continent
number specifies the continent corresponding to the numbers of GetCurrentMapContinent
zone
number specifies the zone corresponding to the numbers of GetCurrentMapZone

Returns
nil

Example
SetMapZoom(2, 10); -- 1.
SetMapZoom(2, nil); -- 2.
SetMapZoom(0, nil); -- 3.
Result
1. Set the current map zoom of the world map to Elvynn Forrest.
2. Shows the Eastern Kingdoms
3. Shows both continents

Description
Sets the zoom to a specific zone.

Template:WoW API