WoW:API GetCorpseMapPosition
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.)