How do you find a resurrect target?

When mercy first starts casting resurrect, is there any way to know which “soul” she’s targeting (before she completes the rez)?

I’ve tried a few things, but there are always cases where something doesn’t work. Ideally I’d want to find the closest dead teammate who is also in the view angle.

You have to be within radius to see who’s soul is belongs to.

Haha, I think you misunderstood… I’m asking about the workshop. Looking for a way for a script to detect which dead ally Mercy is trying to rez, for cases when there’s multiple allies nearby.

You could use: First of - Sortered Array - All dead Players - Distance Between (Evento Player, Current Array Element)

With that you can get the closest dead ally. Its not the best, but its something…