WoW:API GetNumMapLandmarks: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 9: Line 9:
==Notes==
==Notes==
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)]].
[[ru:API GetNumMapLandmarks]]

Revision as of 23:18, 3 June 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).