Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Jim132 on December 19, 2018, 07:32:00 PM
-
In some multiplayer games, we can create rooms and wait for players to join first. Then the master clicks Start Game button and the scene changes. After the scene changes, other player will not be able to join that room anymore.
But in the DemoWorker Demo, players can join a room at anytime. So how to make a room unable to join after the scene changes/game starts?
Thanks for answering! ;D
-
Hi,
Ah, good point, I did not create the action to close the room, please update from the ecosystem, I have added two new actions:
PhotonNetworkSetIsOpen, and PhotonNetworkSetIsVisible.
set IsOpen to false and the room will not be joinable. IsVisible is if you are listing rooms and you don't want it to appear in the lobby, yet it's not closed ( pending known players to join or something)
Bye,
Jean
-
Thank you very much! I will try it out later! ;D
-
are these commands also available for pun2?
-
okay i chance the action for photon2 realtime
-
Hi !
Sorry to dig up this topic.
I can't find "PhotonNetworkSetIsOpen" for PUN2 in the ecosystem. Does someone know how i can get it?