I want to use an array to control output values. What can I do?

Now that I have that sorted, the result is not quite what I was after. Is there any way to get this to occur for all of 12 of the pins simultaneously?