I was just debugging this “Contain item” node when I saw this. The array does not contain said value yet it returns true for some reason. Using string array instead of text returns false.
Why don’t you get the array value and compare it to the value you want instead of “contains” ? Since you use a for each loop, each index will be checked once. In your setup, for each index, the array will be looked for the value you want. Basically, arrays are pretty sensitive : using for each loops when the array is modified can cause issues. (however I don’t get why string array gives a good result while a text array don’t)
I didn’t want to get another for each loop because that would be 3 altogether. Basically I collected a bunch of actors coordinates into a separate array, what I wanted to do is check if another actor exists at 4 hexes away, so I didn’t have to cycle through each actor and get the coordinate value just look for a value in an array.
It is string so it is just a text if you change it to float it should work as intended.