- Home /
Network Game-all players respond to same input
HELP!
I created a player that can move and shoot but when the non-host entered the server, I can still move the non-host player but it can't shoot, only the Host can. PLUS when I control the host player, it also controls the non-host player except for the shooting part.
function Start() { if(!networkView.isMine) { enabled=false; } }
I only put this on my Shooting script of the player even though I have 2 other scripts attached on my player which is movement script and health script because I already tried putting "if(!networkView.isMine)" in the other scripts attached to the player, but what happened was the non-host player can't move or even shoot.
Players should have their own character so that they can both play. Help!
Your answer
Follow this Question
Related Questions
Set unity process as server and client? 0 Answers
Network Game - all players respond to same input 0 Answers
i need networking help 0 Answers
Unity networking tutorial? 6 Answers
Multiplayer desynchronize when grabbing an object by code. 0 Answers