How to create multiple instances of a construction script function

Hello i’ve created a function that allows me to change the settings on an array at lights, but I want a dynamic way to instance the setup for multiple groups of lights, without having to duplicate the function manually. Would anyone have any ideas.

When you put multiple instances of the actor in the level, you get multiple instances of the function.

Either you can write the function so it uses random numbers to control things, or you can introduce another BP actor that can talk to the original BP instances.