Splitting players up so they cant interact?

how do I split my players up into several groups? I'm doing a tourney type of thing where all players in the room are split into groups of 2, and they all fight separately like splitting a list of 6 players into like, say, 3 lists of 2 players. Then each set of 2 players fight in their own separate level/area. I originally thought Interest Groups would work for this, but they run on objects, and not on the actual players.

Answers

  • Each object defined to which group it sends. The player/client defines which groups are of interest (via subscribing them). So it's a bit of both.

    You could skip using objects (PhotonViews) and just use RaiseEvent. In it, you can also define the group you are sending an event to. Maybe that's more straightforward for you.

  • Yeah that might be a neat idea, although I don't quite know what you mean by "skip using PhotonViews". So no RPC's? just RaiseEvent?