When I include layout 2 (chat lobby), some conditions on layout 3 (game) do not work anymore.
For example "on peer connected" is not triggered on layout 3, because they already connected on layout 2. I think.
Do you have advice, based on my explanation and attempts below?
Here are 3 attempts at an example in the "Host Group" where I am trying to find the right condition to replace "on peer connected" with:
Attempt 1 (My preferred way, but this condition is not triggered)
on peer connected:
create object player
set peerid to multiplayer.peerid
associate player with peer multiplayer.peerid
Attempt 2 (this condition is triggered, but if a 3rd player joins it (obviously) does not trigger anymore)
trigger once:
create object player
set peerid to multiplayer.peerid
associate player with peer multiplayer.peerid
Attempt 3 (this condition is triggered, but I think without the proper picking)
trigger once
Repeat Multiplayer.PeerCount-1 times:
create object player
set peerid to multiplayer.peerid
associate player with peer multiplayer.peerid