WoW:API GetPlayerMapPosition: Difference between revisions

(→‎Returns: 3.0.1 change - coords in instances)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}} __NOTOC__


Returns the postion of a unit on the current map
==Patch 3.0.2==
NOTE: This appears to have issues with the advent of Patch 3.0.2
It seems to be only working intermittently.
 
==Usage==
Returns the position of a unit on the current map


  posX, posY = GetPlayerMapPosition("unit");
  posX, posY = GetPlayerMapPosition("unit");
Anonymous user