Think about if there's some way to avoid the player being able to run from an area, despawn the zombies, and then run back. Would be an easy way to despawn a horde at a location you didn't like.
Maybe #4 can remain for X amount of time, and respawn its zombies if the player re-enters the area.
Would maybe want to do this on a per zombie basis, as if say, some zombies follow the player, but the rest stay behind... we only want to do this for the zombies that were left behind. The zombies currently chasing the player should be left alone
Think about if there's some way to avoid the player being able to run from an area, despawn the zombies, and then run back. Would be an easy way to despawn a horde at a location you didn't like.
Maybe #4 can remain for X amount of time, and respawn its zombies if the player re-enters the area. Would maybe want to do this on a per zombie basis, as if say, some zombies follow the player, but the rest stay behind... we only want to do this for the zombies that were left behind. The zombies currently chasing the player should be left alone