Hi Wisdomcube,
Use a “Get All Actors of Class” for the class blueprint, then use a “ForEachLoop” with the array of actors output on Get All Actors of Class plugged into the ForEachLoop. Within the loop you want to run a cast to node specifically looking for your streetlight blueprint. Finally, activate the function that turns on/off the lights from the cast to node. I am attaching an example image here. Effectively I set them on a timer of .05 seconds to toggle the streetlight on and off. You can change this to match your day/night cycle. In both instances I use custom events to be able to draw the specific information I needed to the level blueprint.