I’m working on an interactive music system, and I’m trying to make a layer fade in based on distance to an object. So, when the player character walks into a trigger sphere, the layer fades in gradually as the character moves closer to the object. I’ve made this happen with one object, but there will be several similar objects in the level that will make this layer fade in. I’m trying to find a way to make this happen without having to copy the system for each individual object, and tried doing this by making an array. However, I’m not sure how to make the ‘get array’ node choose the index corresponding to the actor that is within the given trigger sphere, and was wondering if anyone might know how to do this, or if there is any better way to do it?
This is the system I have for it now in the level bp