Get all actors of class/casting can only modify one array instance per cast? (lights and lightswitch)

Okay I’m back with another part to this question! I hope it is an easy thing to do!
I have trigger volumes set up in each room of my house. I was thinking I could use these to group which lights turn on and off. Do you know of a way I could go about doing this?
EDIT
Solved using enumerators!