m
no edit summary
No edit summary |
mNo edit summary |
||
| Line 10: | Line 10: | ||
:("unit") | :("unit") | ||
:;unit : String - The [[API TYPE UnitId|UnitId]] for which the position is returned. ( | :;unit : String - The [[API TYPE UnitId|UnitId]] for which the position is returned. (Does not work with all unit types. Works with <tt>player</tt>, <tt>party<i>N</i></tt> or <tt>raid<i>N</i></tt> as unit type. This was to disable range-checking mods). | ||
---- | ---- | ||
| Line 16: | Line 16: | ||
:posX, posY | :posX, posY | ||
:;posX : Number - X value of the unit position (a | :;posX : Number - X value of the unit position (a proportion between 0 and 1, relative to WorldMapDetailFrame) | ||
:;posY : Number - Y value of the unit position (a proportion between 0 and 1, relative to WorldMapDetailFrame) | :;posY : Number - Y value of the unit position (a proportion between 0 and 1, relative to WorldMapDetailFrame) | ||