So I'm developing a game similar to "The Conquerors" and I cant figure out how to design the code for controlling units. When a new unit is created how would I control them without having to go through and name each of them.
manual control for the most part. I was thinking that if a ship of the opposite team entered its attack radius they would start firing. But for moving it would be manual click and they would go to the mouse hit