I would like two objects to either when in range or when they collide to stop then attack each other and then when no other units are in range continue on their path. I have looked everywhere and still have not found a solution. Should I use flags? fast loops? I do not know that much about either but if that is the way to go I will learn more about it. Any help or examples would be very helpful. Thank you in advance.
-Lexicographer101