Download

any way to compare 2 arrays to see if entries are the same and same order?

for example i want to put items in an array as soon as something happens to them, but the order needs to be specific. so at the end id like to compare one array to another one to see if players triggered those events in the correct order.
maybe theres better ways of doing this so please let me know

ps: figured out using identical node works, but if theres a better of way of doing somethnig like this please let me know

Identical would be the best way if you’re using only blueprints. Any other method would involve the use of more than one node. As a result, the the engine would have to communicate back & forth with the underlying C++ layer multiple times, and in this case, that process would most likely take up more time when compared to the single function call that you have when using the Identical node.