That made it a lot cleaner, thanks. Well I need the enemy bases to be computer controlled. I really don't have a set plan for it yet, but I was thinking have the computer attack a random base every X seconds, and then attack a friendly base whenever the base drops below X troops. What would you suggest?