I have made a multiplayer survival game where the server instantiates some enemy zombie things. Everything works as it should, but when a client see the zombie object it will jump very quickly from one spot to another like flickering. The game is playable but this does not happen to the players. They are streamed correctly but the zombies are not streamed. How Should i make the stop flicker from one place to another? The two places are always really close so its no problem shooting them. Its just really annoying.
1 Answer
1your zombies may have an ai script that is making different decisions on your server then on your client. A quick fix to this is to disable the AI on all but one computer. you could do this by adding:
if(networkView.isMine){
//YOUR CODE GOES HERE
}
If that isn’t the problem I will need to know more information to help you
I all ready have that before my code. It works correctly its just that it renders itself twice, like its one standing next to the real one. Its just a basic follow script. If needed i can send it to you. Its weird how i can see other players correctly and not the zombies. If i have the client spawn them the same thing happens to the server.
– helow52If you want me to, i can make a youtube video showing my problem and then link it in a comment. And i have tested so this is not a connection problem. It does the same thing locally
– helow52