Well, evaluate the scan results not in the event function of the scanning entity, but in the event function of the entity being scanned. This way, my and you of course are exchanged, but ANY scanned entity will have the you pointer pointing to the entity which triggered the scan.
I'm doing this to check whether multiple entities were hit by an explosion.