Two ways to solve this come to my mind:
- “ForEachLoop” is a macro and you can see how it’s functioning by double clicking on it. Then you can copy the content to a new custom macro so you have the same functionality. Then simply change the output and input types to your need.
- You probably need to pass the array element by reference to “Move Actor Along Spline” because you want to change it. When you cannot pass if by reference, simply pass it as “normal” variable and return the changed one. Then you can save it under given index in your array.