Hi, I have a series of spotlights along a walkway, approximately 14 pairs. Each pair is toggled on after a delay after entering a box trigger near the beginning of the path. So the effect is that the first set is triggered after .3 seconds, the second after .6 seconds, etc., leading away from the player. I also want to fire a sound when the light pair is turned on.
I know this is basic stuff, but I’m just learning, and would appreciate some guidance how to do this as class blueprints. I feel like each light pair would be an instance of a PathLight class (for example0 that had the sound effect wired in, but I’m just not clear on how to do it, and I’m not having much luck so far.
Any help is appreciated on understanding 1) how to fire a sound based on a light being triggered on, and 2) BONUS: how to handle this as an array of PathLight objects.