05-07-2019, 11:44 PM
I did a similar thing recently to change the color of particles when it came close to its neighbors in a different group. Sounds exactly like what you are describing. I posted the max file in the forum thread called "Changing color based on neighbor count and time (solved)".