Look, i'm not sure it's a bug, we were testing an engine to get "!" when it happens a player is near to familiy object like fish. This one (left) works:
<img src="http://i.imgur.com/sGdH7.png" border="0">
and other fish (right) doesn't work:
<img src="http://i.imgur.com/tAUvW.png" border="0">
They are part of family.
There a .capx file, you may see it.
Develop games in your browser. Powerful, performant & highly capable.
This is not a bug. As the 'Compare values' description says, it does not pick any objects, it just retrieves and compares two simple numbers. If you use an object in an expression it only picks the *first* one, it will not check any other instances at all.
Fishes: pick nearest to Guy.X, Guy.Y
System: Distance(Guy.X,Guy.Y,Fishes.X,Fishes.Y) <= 130
-> Set exclamation position
-> Set other position
This works because it picks the single closest instance, then checks if that is near enough.
Ah, you explained about "Compare Values" doesn't pick any objects, then i understand and thank you!