How to stop bots from attacking me in TF2

team-fortress-2

How do I stop bots from attacking?

I accidentally typed in nav_generate so I don't know if this affected anything but if yes, how do I reverse it?

Best Answer

By default, Puppet Bots will remain motionless, but will attack if they can see you.

bot -team <teamname/number> -class <classname> -name <botname>

You can input other commands to force these bots to take certain actions. In particular, you can use

bot_forceattack 0
bot_forceattack2 0

to prevent the bot from attacking and

bot_dontmove 1

to prevent the bot from moving.