Does anyone know the process of spawning bots into a game on button press?

I want to make it so I can spawn bots while using an ability. Thanks :slight_smile:

-Hero2213

What you would need to do is when button is pressed/ held teleport player to put the bot in the position you want. There’s no actual function to spawn a bit though. The bot needs to be in the game already and you can move them.

I would add more - you don’t know if there is a bot or a player… so it is only team players vs team bots. If you set team bots (moving speed) to minimum or close them inside the spawn location then you really can teleport or just release a bot.

Another method I just thought of, you can kill the bot at spawn, and have them respawns where you want them.

killing a bot will spam on log… not really nice I guess.

Disable build in gamemode respawning() and handle players respawns manually, or just root them after spawn.

Btw, someone made a similar thread already. I answered your question there:

1 Like