How can I create bot for game?

Dear Team,

I want to create bots when player cant find opponent in a long time. How can I create bot? Create In master Client or server? How can I create bot and control from server?


  • Hi, Liam.

    in order to create bot, you should use server side plugin. but unfortunatelly you can not represent bot as another player in terms of photon. But you may do the trick. Because for Raise Event Operation you may define your own structure, you may define your own protocol, and send messages from bot and to bot, this messages will be handled by plugin. and everything may look like playing with another player

    although i'm not aware about changes on client side (PUN), but i assume this may work

Sign In or Register to comment.