This commit is contained in:
ineed bots
2023-11-27 14:18:15 -06:00
parent af4d44c3a4
commit 13a6417a9d
5 changed files with 137 additions and 467 deletions

View File

@@ -3,17 +3,6 @@
Author: INeedGames
Date: 09/26/2020
The entry point and manager of the bots.
Non-canon bootstrapped from <searchpath>/scripts/*.gsc::init
Non-canon bot behavior; controlled through gsc built-ins
Non-canon built-ins:
PrintConsole(<string>)
FS_FileTest(<file name>) -> bool, base path is <searchpath>/scriptdata
FS_FileRead(<file name>) -> string, base path is <searchpath>/scriptdata
FS_FileWrite(<file name>, <contents>, <mode ("append", "write")>), base path is <searchpath>/scriptdata
<client> botStop()
<client> botAction(<action string (+ or - then action like frag or smoke)>)
<client> botMovement(<int left>, <int forward>)
*/
#include common_scripts\utility;
@@ -555,7 +544,7 @@ watchBotDebugEvent()
if ( msg == "debug" && GetDvarInt( "bots_main_debug" ) )
{
PrintConsole( "Bot Warfare debug: " + self.name + ": " + str );
BotBuiltinPrintConsole( "Bot Warfare debug: " + self.name + ": " + str + "\n" );
}
}
}