Wikia

WoWWiki

Changes: API SetMapToCurrentZone

Edit

Back to page

({{wowapi}})
 
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 current world map continent and zone to be the zone the player is currently in.
   
 
SetMapToCurrentZone()
 
SetMapToCurrentZone()
   
----
+
==Example==
;''Arguments''
 
 
:''none''
 
 
----
 
;''Example''
 
 
SetMapToCurrentZone();
 
SetMapToCurrentZone();
   
;''Result''
+
===Result===
:World map zoom changes (if necessary)
+
World map zoom changes (if necessary).
 
----
 
;''Details''
 
 
: 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.
 
   
----
+
==Details==
{{WoW API}}
+
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 17:19, December 23, 2006

WoW API < SetMapToCurrentZone

Sets the current world map continent and zone to be the zone the player is currently in.

SetMapToCurrentZone()

ExampleEdit

SetMapToCurrentZone();

ResultEdit

World map zoom changes (if necessary).

DetailsEdit

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.

Around Wikia's network

Random Wiki