bro that was hard to get it right in such short time!
They use path finding and ate pretty accurate, but they follow the last position they were close to you. If you distance yourself enough or hide somewhere, they turn around and leave.
I'm glad you liked the visuals! I tried merging many ideas together!