Boolean array.

Is there a way to skip over a false index in a Boolean array to the next one that is true? I am trying to use this to check if a player has the item in that particular index, if not, then skip to next. More specifically, I am checking to see if the player has picked up a weapon. If true, it switches to the weapon in that slot, then reviews current one from view.

so you want something like
int32 getFirstTrueFromArrayOfBools()

image

image

Suppose I don’t want to create a function, what would I use for the ‘Completed’ instead of a return node?

Completed is where you retrieve the ‘FoundIndex’ value. Without function, it is pretty much the same.