Is there a way to return arrays with pass by reference in a function’s return node?
My Blueprint has 4 arrays that I need. See screenshot below. In order to better organize my code, I created a function that takes inputs and returns the arrays I need based on my inputs. Sometimes I need index 0, sometimes index 1, etc etc. But I notice that my return node in my function only returns a copy of the array and not the original. There doesn’t seem to be a way to have the return node use pass by reference. Any idea how to do that? A work around to getting this working is to put all of this funciton’s logic in the main blueprint, but it’s big and ugly and I want to hide it in a function… which is why I made a function for this. It seems really silly that pass by reference is not allowed in a return node. Any ideas on how to fix?