Turn off multiple lights trigger

I’d really like to know how to turn off multiple lights at once in a scene by walking through a trigger. The lights selected here are the ones I’d like to be turned off with the trigger. Is there a way to do this? Thanks

1 Answer

1

Store all the lights in an array. When the trigger is entered, loop through every item in the array and disable the light component.