It would be nice if you could add a BP node with the same functionality as the Remove Index or Remove Item array nodes, except that it also has a bool for keeping the array the same size. It would be something like the opposite of Set Array Elem node, which can resize the array to fit the added index.
The problem is that if you have some functions relying upon an array’s carefully sorted indexed items, removing an item ruins that structure.
Example: I have carefully added 5 elements in this order with corresponding indices: Wind, Water, Fire, Earth
I also have a selection system implemented and my currently selected item(which is an int) is Water and my previously selected item(which is also an int) is Fire.
Now I want to remove Water from my array and update the currently selected item to my previously selected item Fire, BUT because removing an item from an array all remaining index numbers will update to close the gap, I will now have Fire on index 1, instead of index 2, where I carefully placed it.
I hope someone sees this and understands the need for it. It’s pretty much the same opposite as Set Array Elem node with the “Size to fit” bool.