WoW:API GetCorpseMapPosition

Revision as of 17:31, 20 November 2004 by WoWWiki>Meog
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetCorpseMapPosition -Documentation by Meog-

Returns the postion of the corpse on the current map

GetCorpseMapPosition();

Arguments
none

Returns
Number corpseX, Number corpseY
corpseX
x value of the corpse position (in percent, relative to WorldMapDetailFrame)
corpseY
y value of the corpse position (in percent, relative to WorldMapDetailFrame)

Example
local corpseX, corpseY = GetCorpseMapPosition();

Result
0.43320921063423, 0.69365233182907

Description
Returns the postion of the corpse on the current map. (Both values equal zero, when the corpse is not on the current map.)

Template:WoW API