Hi everyone!
I have a rather small update for you this week but it took a lot of behind the scenes work to get working.
I've refactored the code cops, military and civilians use when trying to find their way to buildings.
I recently changed this in a previous build but was not happy with it still and it took a few days of solid effort to really get it right.
There are now 2 ways that people make their way to places, either using Casual or Urgent pathfinding.
Casual walkers use the sidewalks and cross the streets like a normal civilian should. This is used by police pre-quarantine and by civilians commuting to work.
Urgent will ignore these things. They are aware they are in an emergency scenario and will make a beeline to the correct area running down streets, as well as being willing to break windows to get to their location.
Police will use Urgent pathfinding when the police station is under threat and withdrawing to the station. Military also use Urgent pathfinding.
Before this update each type of situation had it's own code, which was turning into a mess. Hopefully using this new system I can quickly add new features such as Civilians urgently retreating to their homes etc.
Thanks everyone and I hope you are enjoying the game!
