Hello, i hope the title makes sense, but ill try to explain a little better.
I have a Struct that contains 5 map variables of name and integer type, then i made a Data Table with that struct. Those variables represent ingredient names and their amounts.
At the beginning i am using a ForEachLoop that goes through an Array and then what i want to do is compare each index’s ingredient with the next index to see if there are any ingredients that are the same so that i would group them together. I can’t figure out to make this comparison. On the attached screenshot you’ll see a == node after the Loop, that’s where i am lost.
Thanks.
Yeah, i dont understand it very well either, sorry for the crappy explanation.
I am using a Structure, but inside the struct i am using Maps to assign a specific Value (ingredient amount) to each ingredient. I thought it would be better than having 2 variables for each ingredient, like name and quantity. Map seemed more efficient, i could be completely wrong though.
I was able to do what i needed but i ended up going with little different of a solution.
Instead of comparing the Map, i used the Add Unique node to add the Name values into a Name array and then used that instead. Thanks for taking the time to reply mate.