I've looked around the manual and forums and tried but can't crack this. I have multiple instances of an object (yellowguy) and I want them to pick the nearest instance to another instance of an object (cover), of which there are multiple. I've read that I need to store it to a variable in order to use it for other actions, and I have set up instance variables on both yellowguy and a family containing yellowguy. But only one cover position is ever stored.
Can someone steer me in the right direction?
Below is an image of the last combination I tried.