Enemy sprite rotation like in Classic Doom

I’ll give this a try when I get home, what I’m getting at is it’s getting the world difference between the actor and the player and then getting the angle between that and the current forward facing position and it should in theory give me a 360 degree value of the enemies current facing position in relation to the player.