refactor: remove bot chat

This commit is contained in:
Michael Oliver
2026-06-07 08:20:35 +01:00
committed by mo
parent ec9ce53c40
commit aab08e2eb4
430 changed files with 1 additions and 135851 deletions
-19
View File
@@ -289,7 +289,6 @@ init()
level thread watchScrabler();
level thread handleBots();
level thread onPlayerChat();
array_thread( getentarray( "misc_turret", "classname" ), ::turret_monitoruse_watcher );
}
@@ -1345,24 +1344,6 @@ doFiringThread()
self.bots_firing = false;
}
/*
When a player chats
*/
onPlayerChat()
{
for ( ;; )
{
level waittill( "say", message, player, is_hidden );
for ( i = 0; i < level.bots.size; i++ )
{
bot = level.bots[ i ];
bot BotNotifyBotEvent( "chat", "chat", message, player, is_hidden );
}
}
}
/*
Monitors turret usage
*/
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -394,7 +394,7 @@ BotNotifyBotEvent_( msg, a, b, c, d, e, f, g )
}
/*
Notify the bot chat message
Notify a bot event
*/
BotNotifyBotEvent( msg, a, b, c, d, e, f, g )
{