Hi I was wondering how you can make an AI attack a building and destroy it
Way too general of a question for a good answer. What have you gotten working so far? Do you have AI? Buildings? Is health or some way to determine if the building is “destroyed” in place? If you are asking how to create this from scratch there are a bunch of baby steps you need to accomplish/learn/understand before you can get functioning AI.