Question by
ForceVII · Mar 18 at 08:07 PM ·
networkingunity 2donlinemirror
How to make Server Side Bots in Mirror?
Hi I'm trying to make a multiplayer shooter game with bots in it. I learned how to sync players movement and shooting but I dont know how to make server side bots. I'm confused I have some questions:
Should bots have Client Authority on NetworkTransformView? I dont think they should. They should not get controller by players. I tried running the game with Client Authority false, my instantiating bullets code gave a error: "cant instantiate without authority".
I dont think its true way to make server side bots but when they have authority code works. Am I doing it right? Should they have Client Authority? If not how can I instantiate gameobjects (bullets) from bots' script? Thanks.
Comment