Finding an Element in a Custom Struct Array

Hey guys - I have a custom struct that is a list of possible combinations, 3 of the fields are possible elements from another area that I reference with IDs - so a combination might be 1,2, and 3 - also in the custom struct I have the results of the combination and amounts and such

So what I need to do is look up in the array of Combinations by it’s possible IDs 1,2, and 3 and get the result text and amount… so I’ll be trying to “find” from the array using only 2 or 3 of the elements in the struct - NOT passing it the other fields…

Right now it’s not finding anything unless I pass it the exact elements that exist in the combination - how to I pass it “null” values for the fields I want to ignore in the find? possible?

Thanks!

hey there, this looks really old, did you ever find a solution? I’ve been creating a loop and a temp array with only the value want to search for, then do a find on the temp array, and put that index back into the the original array, seems to work for me, not sure if its the best method.