I have a large stuct which a then made an array of. I want to change a single struct variable of a single array element.
I can do easily in C++, but I’m trying to learn blueprints. I can also do it in blueprints too, but the way I’m doing it seems wrong. It works, but there MUST be an easier way.
What I do now is get the array, input the index for the array element I want to change, then I use the “set array elem.” Then I have to split the pins and connect every single pin from one to the other, making the change to the variable(s) that I want to change. Here’s what it looks like:
In this particular example, I’m changing multiple variable, but sometimes I only want to change a single one. Is there a simpler way to do this in blueprints or must I connect each and every pin each and every time?