how do you make them pathfind?
A code to check if there are any obstacles in the way, then process other ways around it. For example, should I jump ontop of this fire? or should I walk around it?
It will make the best choice according to the pref its set on.