Thread
:
getangle questions
View Single Post
#
2
04-22-2006, 08:10 PM
Tolnaftate2004
penguin.
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 534
getangle() returns the radian angle (between 0 and 6.28318530...).
For an npc to face a player, use
NPC Code:
dir = getdir( playerx - x , playery - y );
Tolnaftate2004
View Public Profile
View GraalOnline Profile
Find all posts by Tolnaftate2004