Difference between revisions of "GetHeadingAngle"

Jump to navigation Jump to search
193 bytes added ,  15:33, 11 June 2006
Addition to example
imported>JustTim
(correted the return value of the example)
imported>JOG
(Addition to example)
Line 12: Line 12:


would return -90.  
would return -90.  
 
 
When you add this value to the player's current heading angle, he will face the statue:
  set angle to player.getangle z + player.GetHeadingAngle StrangeStatue
  player.setangle z angle
 
 


[[Category: Functions]]
[[Category: Functions]]
[[Category: Movement Functions]]
[[Category: Movement Functions]]
[[Category: Condition Functions]]
[[Category: Condition Functions]]
Anonymous user

Navigation menu