I have several instances of an object, and when the player selects them the 'selected' variable becomes true, and after some seconds it becomes false again.
This instances are divided into groups, and they have a variable 'group'.
So, I am using the Pick by Evaluation event to pick all instances that are currently selected. What I need to do is to check if all the instances selected is of the same group - this is, if the variable 'group' is equal in all of them, or not.
I would need something like:
"Pick Obj by Evaluating Obj.selected" and "Compare if all the picked Obj's have the same Obj.Group"
Any thought on how can I do this?
Many thanks in advance :)