Flickering19966@legacy41540688 (talk | contribs) (Added category link) |
m (→top: clean up, replaced: {{removed → {{Removed) Tag: WoW API docs |
||
(10 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Removedapi|8.0.1|It's no longer needed to call this function in order to get the current map. See {{api|C_Map.GetBestMapForUnit}}.}} __NOTOC__ |
||
− | <center>'''SetMapToCurrentZone''' ''-Documentation by [[user:Meog|Meog]]-''</center> |
||
⚫ | |||
− | |||
⚫ | |||
SetMapToCurrentZone() |
SetMapToCurrentZone() |
||
⚫ | |||
− | ---- |
||
⚫ | |||
− | ;''Arguments'' |
||
− | |||
− | :''none'' |
||
− | |||
− | ---- |
||
− | ;''Example'' |
||
− | SetMapToCurrentZone(); |
||
− | |||
− | ;''Result'' |
||
− | :World map zoom changes (if necessary) |
||
− | |||
− | ---- |
||
⚫ | |||
+ | ==Notes== |
||
⚫ | |||
+ | This function triggering event QUEST_LOG_UPDATE. |
||
+ | ==See also== |
||
− | ---- |
||
+ | * [[API GetCurrentMapAreaID|GetCurrentMapAreaID]] |
||
− | {{Template:WoW API}} |
||
+ | * [[API GetQuestWorldMapAreaID|GetQuestWorldMapAreaID]] |
||
− | [[Category:API Functions|SetMapToCurrentZone]] |
||
+ | * [[API SetMapByID|SetMapByID]] |
Latest revision as of 18:14, 4 April 2020
This is no longer a part of the World of Warcraft API.
|
Sets the world map to display the zone the player is currently in.
SetMapToCurrentZone()
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.
Notes
This function triggering event QUEST_LOG_UPDATE.