did anyone tried to run bots on the dedicated server?
I have a multiplayer game and I want to add bots to it. But not some AI mobs. I want a player bots. Copies of players, just not controlled by the player but by the server (so they still have all stats, kills, deaths, healths, weapons, ammo etc. like common player).
What I did now on the server:
- I created a player controller (good, player appeared in a player list)
- Spawned the bot with this player controller (good, bot was spawned in the world)
But this bot doing nothing. Is even not possible to use LaunchCharacter() on him - if I use it, nothing happens. If I use it on myself, I am launched successfully.
But something works - for example I can kill him.
I think that problem is somewhere on the dedicated server because the bot “player” running now on the server, but some code expecting that players runs only on the clients, not servers.
Is this that problem? Can it be solved something? How to solve launching the bot?