WoW:API GetNumMapLandmarks: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
({{wowapi}}, format.)
Line 1: Line 1:
<center>'''GetNumMapLandmarks''' ''-Documentation by [[user:Flickering|Flickering]]-''</center>
{{wowapi}} __NOTOC__
 
Returns the number of landmarks on the current world map (Landmarks are those icons showing cities and points of interest)
  numLandmarks = GetNumMapLandmarks();
  numLandmarks = GetNumMapLandmarks();


Returns the number of landmarks on the current world map (Landmarks are those icons showing cities and points of interest)
==Parameters==
 
===Returns===
----
;''Arguments''
 
:<i>none</i>
 
----
;''Returns''
 
:numLandmarks
:;numLandmarks : Number - The number of landmarks on the current world map.
:;numLandmarks : Number - The number of landmarks on the current world map.


----
==Notes==
;''Details''
Information about each landmark can be obtained by using [[API GetMapLandmarkInfo|GetMapLandmarkInfo(landmarkIndex)]].
 
: Information about each landmark can be obtained by using [[API GetMapLandmarkInfo|GetMapLandmarkInfo(landmarkIndex)]].
 
 
----
{{WoW API}}

Revision as of 22:22, 23 December 2006

WoW API < GetNumMapLandmarks

Returns the number of landmarks on the current world map (Landmarks are those icons showing cities and points of interest)

numLandmarks = GetNumMapLandmarks();

Parameters

Returns

numLandmarks
Number - The number of landmarks on the current world map.

Notes

Information about each landmark can be obtained by using GetMapLandmarkInfo(landmarkIndex).