WoW:API GetMapLandmarkInfo: Difference between revisions
Jump to navigation
Jump to search
(these are bridges... dunno what the other unknowns are) |
mNo edit summary |
||
Line 185: | Line 185: | ||
* 154 [[File:IconSmall POI154.png]] - 16x16 <br/><span style="font-size:x-small;">Refinery, Horde assaulted</span> | * 154 [[File:IconSmall POI154.png]] - 16x16 <br/><span style="font-size:x-small;">Refinery, Horde assaulted</span> | ||
|} </onlyinclude> | |} </onlyinclude> | ||
[[ru:API GetMapLandmarkInfo]] |
Revision as of 01:04, 29 September 2009
← WoW API < GetMapLandmarkInfo
Returns the information about a landmark on the current world map.
name, description, textureIndex, x, y = GetMapLandmarkInfo(landmarkIndex);
Note that 3.0.2 added more icons (102 now), doubled the size of the POIIcons.blp texture to 256x256 and moved the invisible texture from index 15 to 0.
Parameters
Arguments
- landmarkIndex
- Number - Indicates which landmark to query (from 1 to GetNumMapLandmarks())
Returns
- name
- String - The name of the landmark
- description
- String - A description of the landmark. In Battlegrounds this can dynamic information such as which faction controls the landmark.
- textureIndex
- Number - An index representing which landmark icon to display. These icons are in Interface\Minimap\POIIcons.blp, in an 16x16 grid (each icon is 16x16). Values are listed in the Landmarks section, below:
- x
- Number - The X location of the landmark's center (A proportion of the current map's width, between 0 and 1)
- y
- Number - The Y location of the landmark's center (A proportion of the current map's height, between 0 and 1)
Landmarks
Landmarks for API GetMapLandmarkInfo. | ||||
|
|
|
|
|