Pick random player of Team1 after a player of Team2 is eliminated by creature...

Thank you for your help ! :slight_smile:
Unfortunately your code doesn’t return an agent that has been eliminated by a creature, or i don’t understand it du to my low experience…

I think I need to explain more concretely what I want to do:
Players from Team 1 are in a special arena where they will face zombies, while players from Team 2 (who will be outside the arena) will have to eliminate the players from Team 1.

I already have a function that does what I want when a player from Team 1 is eliminated by a player from Team 2.

However, I can’t seem to write a function that does “my thing” when a player from Team 1 is eliminated by a zombie…

I’m not even sure if it’s possible to do that…

I hope this makes things a bit clearer to understand. I realize that my request might seem a bit far-fetched at first glance lol.

Thank you in advance