Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
→ WoW API
Returns the postion of the player's corpse on the current map
posX, posY = GetCorpseMapPosition();
- posX, posY
- Number - X value of the corpse position (a proprotion between 0 and 1, relative to WorldMapDetailFrame)
- Number - Y value of the corpse position (a proportion between 0 and 1, relative to WorldMapDetailFrame)
If both posX and posY are 0, then the player is not dead, the corpse position is unknown, or not valid for the current map.
local corpseX, corpseY = GetCorpseMapPosition();