Navigation menu

WoW:USERAPI GetPlayerBearing: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(Fixed glitch when "Rotate Minimap" is enabled)
mNo edit summary
Line 1: Line 1:
{{localuserfunc}}
{{userfunc}}
Returns the player's current facing bearing based on the rotation of the minimap arrow.
Returns the player's current facing bearing based on the rotation of the minimap arrow.
  bearing = GetPlayerBearing();
  bearing = GetPlayerBearing();


==Return values==
==Return values==
; bearing : number - The player's current bearing (in Radians).
; bearing
: number - The player's current bearing (in Radians).


==Example Implementation==
==Example Implementation==