im looking for a function that will take the yaw of an entity and give me a number from 1 to 8 of the direction its pointing. Like forward would be 1 then forward right would be 2, right would be 3, ect. . . Ive been trying to do it for a couple hours and cant seem to get it, any ideas?