yes,find direction vector from target entity to looking entity (vec_sub their positions)

then use vec_to_angle to convert that vector to angle. use the pan of resulting angle.


3333333333