What type of RPC target I have to choose..

Hi everybody !

I’m doing a 2d multiplayer game with photon and I need some advice…

I have I’m my room a monster , when a player enter in the "target detection collider " of my monster, the client send RPC to other to tell that he is the target .
But sometimes , if two people enter in the same time in the collider, the both are consider like a target … so each client see the monster attack him …

So I would like to know if there is a way to solve this problem …:confused:

It’s like a car game , in my case , 2 player can finished at the first place and I don’t want that :confused:

Thanks if you can help me ! Have a good day

If I understand correctly, I think what you want is the server to detect who is there (first), and then act accordingly…

Yes i would! But i don’t know how with the photon cloud :confused:

Sorry, I don’t have any experience with photon :slight_smile: Hopefully someone else can help you…

Thanks ! :slight_smile: