Selecting a specific instance of an object + P2P

Hi. I know this topic has been multiple times on this forum. But still, I’m not able to do what I’m exactly looking for.

Here is what I’m trying to achieve:

Repeat “3” times

At the beggining of the scene → Create an object "Player"

This would create 3 players obviously, 3 instances of an object called Player to be precise.
Now let’s say I got a global variable that determines my PlayerID, and I want to control that instance of an object “Player” that has the same variable value as my global one.

I kind of know about GDevelop’s smart detection system, that picks an instance if you’re for example colliding with it, but that’s not what I’m looking for at the moment.

Also I’m sorry if this post is such a mess, I’m just tired at the moment. Anyway, I want this “system” to be a part of a multiplayer game, and I can completely understand if it’s not possible. I will of course provide more information if needed.

Hi, I have no experience with P2P, but if I get your question right you basically want to compare an object variable with a global variable in the condition and trigger a specific action. That’s possible without any problems.