4.8.3 Is there meant to be a difference between using arrays within Functions vs Events?
I came across as situation where I was attempting to take an array and remove an item at index. When the array was referenced from the same blueprint, it worked correctly, but if the array came from an input into the method, the array would not be altered. However, it works with functions. I am wondering if this is intentional, and if so, can someone explain to me why?
Here are some images that might help explain it better. I made this in a fresh project.
With the first image, the values in the array remain unchanged.
With this one, it works as intended, removing all of the values from the array.
Here is how I have a function set up and working the way I wanted the event to in the first image.
asked Aug 03 '15 at 03:23 PM in Blueprint Scripting
why not just use "remove index" right after tick even?
answered Aug 03 '15 at 05:37 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here