Yes, you can set a variable of any type to be an array on a blueprint. Do that with static meshes, add all your buildings to the array and select a random index from it to spawn a new static mesh component
Thank you for responding and for boiling it down for me. I have 1-2 more doubts, 2 buildings have different width so as to avoid any clipping should I omit those or how I can imagine doing this after reading your reply is to create two different arrays, one with buildings of the same width and the other with a different…