WoW:API SetMapToCurrentZone: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Move page script moved page API SetMapToCurrentZone to API SetMapToCurrentZone without leaving a redirect) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | |||
Sets the current world map continent and zone to be the zone the player is currently in. | Sets the current world map continent and zone to be the zone the player is currently in. | ||
SetMapToCurrentZone() | SetMapToCurrentZone() | ||
==Example== | |||
SetMapToCurrentZone(); | SetMapToCurrentZone(); | ||
===Result=== | |||
World map zoom changes (if necessary). | |||
==Details== | |||
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. | |||
Latest revision as of 04:47, 15 August 2023
← WoW API < SetMapToCurrentZone
Sets the current world map continent and zone to be the zone the player is currently in.
SetMapToCurrentZone()
Example
SetMapToCurrentZone();
Result
World map zoom changes (if necessary).
Details
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.