How to check if all instances have the same value?

I need to check if two of the point objects have the same value (sigma = true).
How it should work:
player colides with point, it changes the value of point to true, player colides with other point, both points have the same value, the player turns green.
I have already tried multitude of combinations of pick all instances, for each object and putting them into a group, nothing works tho.


I can think of at least 2 ways.

You can check if the sigma object variable is false inside a NOT condition. The NOT condition inverts the result.

Or you could check if the object variable is true and then see if the currently picked object count is 2 or in my example, the number of objects in the scene.

Other people are likely to have other methods.

I used an object named Toggle and I rotated a text object so I’d have a visual feedback.

It worked for me, thak you very much!

1 Like