WoW:API SetMapToCurrentZone: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Recategorized)
Line 1: Line 1:
  <center>'''SetMapToCurrentZone''' ''-Documentation by [[user:Meog|Meog]]-''</center>
  <center>'''SetMapToCurrentZone''' ''-Documentation by [[user:Meog|Meog]]-''</center>


Sets the zoom to 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()
Line 9: Line 9:


:''none''
:''none''
----
;''Returns''
:;nil


----
----
Line 20: Line 15:


;''Result''
;''Result''
World map zoom changes (if necessary)
:World map zoom changes (if necessary)


----
----
;''Description''
;''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.


: 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>
----
----
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API World Map Functions|SetMapToCurrentZone]]

Revision as of 19:21, 28 December 2004

SetMapToCurrentZone -Documentation by Meog-

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

SetMapToCurrentZone()

Arguments
none

Example
SetMapToCurrentZone();
Result
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.

Template:WoW API