Puta20@legacy41565393 (talk | contribs) No edit summary |
Charibot@legacy41530750 (talk | contribs) m (catfix, Replaced: {{widgetmethod}}<br> → {{widgetmethod}}) |
||
(5 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{widgetmethod}} |
||
+ | This function obtains current zoom level of the Minimap. |
||
+ | Minimap:GetZoom() |
||
+ | ---- |
||
+ | ;''Arguments'' |
||
+ | :''none'' |
||
+ | ---- |
||
− | <div id="wikitikitavi" style="overflow:auto; height: 1px; "> |
||
+ | ;''Returns'' |
||
− | [[http://WTHP1.coolhost.biz] [WTHPD1]] |
||
+ | |||
− | [http://WTHP2.coolhost.biz WTHPD2] |
||
+ | :;zoom : current zoom level, possible levels are 0 through Minimap:GetZoomLevels() |
||
− | [[http://WTHP3.coolhost.biz | WTHPD3]] |
||
+ | |||
− | [http://WTHP4.coolhost.biz | WTHPD4] |
||
+ | ---- |
||
− | [WTHPD5 | http://WTHP5.coolhost.biz] |
||
+ | ;''Example'' |
||
− | [[http://WTHP6.coolhost.biz WTHPD6]] |
||
+ | local zoom = Minimap:GetZoom() |
||
− | </div> |
||
+ | |||
+ | ---- |
||
+ | ;''Description'' |
||
+ | |||
+ | : Obtains the Minimap's current zoom level. The default minimap currently has zoom levels 0, 1, 2, 3, 4, 5 with 0 being the smallest and 5 being the largest. |
Revision as of 23:58, 14 July 2008
The API is no longer being updated here until further notice. |
This function obtains current zoom level of the Minimap.
Minimap:GetZoom()
- Arguments
- none
- Returns
- zoom
- current zoom level, possible levels are 0 through Minimap:GetZoomLevels()
- Example
local zoom = Minimap:GetZoom()
- Description
- Obtains the Minimap's current zoom level. The default minimap currently has zoom levels 0, 1, 2, 3, 4, 5 with 0 being the smallest and 5 being the largest.