Add bots_t8_mode dvar, and fix bug with bot debug prints.

This commit is contained in:
JezuzLizard 2023-06-20 17:55:37 -07:00
parent b117cdb1fa
commit 07a10e74f3

View File

@ -75,6 +75,9 @@ init()
if ( getDvar( "bots_play_aim" ) == "" ) if ( getDvar( "bots_play_aim" ) == "" )
setDvar( "bots_play_aim", true ); setDvar( "bots_play_aim", true );
if ( getDvar( "bots_t8_mode" ) == "" )
setDvar( "bots_t8_mode", false );
if ( !isDefined( game["botWarfare"] ) ) if ( !isDefined( game["botWarfare"] ) )
game["botWarfare"] = true; game["botWarfare"] = true;
@ -273,7 +276,7 @@ watchBotDebugEvent()
if ( msg == "debug" && GetDvarInt( "bots_main_debug" ) ) if ( msg == "debug" && GetDvarInt( "bots_main_debug" ) )
{ {
PrintConsole( "Bot Warfare debug: " + self.name + ": " + str + "\n" ); PrintConsole( "Bot Warfare debug: " + self.playername + ": " + str + "\n" );
} }
} }
} }