I had a look at this tutorial here, and while it's nice, it's not quite what I want.
Is suggests using the code "floor( (((A + 45) % 360) / 90) )" in order to get 4 directions, so I thought I could simply convert that 90 for 45 and have 8 angles.
Unfortunately, I'm stupid :D
Anybody have a smart way of doing this? I'd rather not have loads of events when I can do it in 1.