ID:155257
 
was wondering how to make it so that an npc will face the player that is trying to talk to them?

something with step direction?
Maybe...

mob/npc
Click()
FaceMe(usr,src)
mob
proc
FaceMe(clicker,npc)
var/direction = get_dir(npc,clicker) // this should make the variable be like NORTH, SOUTH, whatever
npc.Turn(direction)


Theoretically that should work, though I didn't test it...
In response to Crimsonsabre
No, Turn is an icon proc that rotates the icon by the number of degrees that you put as an argument.

Replace the Turn() with npc.dir=get_dir(npc,clicker)

turn(), not Turn(), they're different, COULD be used, but it would be overly complicated when all you need is one line to do the whole thing without it.