Question by
babjakbalazs5 · Aug 28, 2021 at 06:05 PM ·
multiplayerphoton
Pick a random player to be an "impostor" - Photon Pun2
I already have a menu setup, players can find rooms, join rooms, create rooms, and a game scene setup. The room creator can start the game and the game will start after 10 seconds pressing start. When the master clicks the button I want a random player to be selected as an "Impostor". The Impostor needs to spawn at a different position and with a different prefab. I can't figure it out for like 2 hours now.
I would really appreciate if someone helps me, this is my first time making a multiplayer.
Comment
Your answer
Follow this Question
Related Questions
Photon Sync Var 1 Answer
Build errors when using Photon 2 ,Build errors after using Photon 0 Answers
Unity login system without Photon Custom Auth 0 Answers
PUN fps help 0 Answers
Multiplayer Variable System 0 Answers