A FaceTarget

From ECWolf Wiki

A_FaceTarget [(float max_turn[, float max_pitch])]

Changes the actor's angle to face the actor's target. The max angle this function will turn, in degrees, can be limited by the max_turn parameter (default is 0 which means unlimited). max_pitch is currently unimplemented and should not be used. The default for it is 270 degrees.