WoW:USERAPI GetPlayerBearing: Difference between revisions

m
Move page script moved page USERAPI GetPlayerBearing to WoW:USERAPI GetPlayerBearing without leaving a redirect
(Fixed glitch when "Rotate Minimap" is enabled)
m (Move page script moved page USERAPI GetPlayerBearing to WoW:USERAPI GetPlayerBearing without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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==
Anonymous user