I’m working with arrays in blueprints, and I feel a real lack of common higher-order functions like “map” and “fold” and “filter.”
For example: For each actor that overlaps a particular shape and implements an interface, call that interface to get a string, and then print out one line of text that is the concatenation of those strings.
In most functional languages, I could do something like: foldr (join “,”) (map callmethod “GetDesc” <the array>)
Although there is a convenient “find overlapping actors” node type, actually doing something with the array that’s returned is cumbersome. For example, even though there is a “calculate average of vector of locations” node, there is no “slice get location from actor” node to generate an array of locations from an array of actors.
So: let’s hear it for higher-order blueprint functions!