Changing materials on different array parts

Hello Blender Artists!

I’ve got a fairly straight forward question. How do I change the materials on different “parts” of an array?
Really all I have to do is change the diffuse color, I don’t know if that makes it any easier but just for your information that’s the only thing I need to do. I kinda need it to look like on this building.

Thank you all in advance!

I don’t believe it can be done with an array. My two suggestions would be:

  1. Apply the array, create a new material mat2. Tab into edit mode, select a vert from each mesh you want to change, ctrl-L to selected connected, and in the material tab click apply.

  2. Use a non random particle system, emitting from vertices instead of the array.