WoW:API GetNumMapLandmarks: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Move page script moved page API GetNumMapLandmarks to API GetNumMapLandmarks without leaving a redirect) |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{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(); | ||
==Parameters== | |||
===Returns=== | |||
:;numLandmarks : Number - The number of landmarks on the current world map. | :;numLandmarks : Number - The number of landmarks on the current world map. | ||
==Notes== | |||
Information about each landmark can be obtained by using [[API GetMapLandmarkInfo|GetMapLandmarkInfo(landmarkIndex)]]. | |||
Latest revision as of 04:46, 15 August 2023
← 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).