WoW:API SetMapToCurrentZone: Difference between revisions

m
Move page script moved page API SetMapToCurrentZone to WoW:API SetMapToCurrentZone without leaving a redirect
No edit summary
 
m (Move page script moved page API SetMapToCurrentZone to WoW:API SetMapToCurrentZone without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<center>'''SetMapToCurrentZone''' ''-Documentation by [[user:Meog|Meog]]-''</center>
{{wowapi}} __NOTOC__
 
Sets the current world map continent and zone to be the zone the player is currently in.
Sets the zoom to the zone the player is currently in


  SetMapToCurrentZone()
  SetMapToCurrentZone()


----
==Example==
;''Arguments''
 
:''none''
 
----
;''Returns''
 
:;nil
 
----
;''Example''
  SetMapToCurrentZone();
  SetMapToCurrentZone();


;''Result''
===Result===
World map zoom changes (if necessary)
World map zoom changes (if necessary).
 
----
;''Description''


: Sets the zoom to the zone the player is currently in.<br><small>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.</small>
==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.
{{Template:WoW API}}
Anonymous user