This commit is contained in:
Your Name 2020-09-13 17:37:52 -06:00
parent 0952e8af0a
commit 522a218d63
2 changed files with 40 additions and 32 deletions

View File

@ -1088,6 +1088,17 @@ onBotSpawned()
for(;;) for(;;)
{ {
self waittill("bot_spawned"); self waittill("bot_spawned");
self thread start_bot_threads();
}
}
start_bot_threads()
{
self endon("disconnect");
level endon("game_ended");
self endon("death");
gameFlagWait("prematch_done"); gameFlagWait("prematch_done");
self thread bot_killstreak_think(); self thread bot_killstreak_think();
@ -1118,7 +1129,6 @@ onBotSpawned()
self thread bot_cap(); self thread bot_cap();
} }
}
/* /*
Bot logic for bot determining to camp. Bot logic for bot determining to camp.

View File

@ -2,10 +2,8 @@ _script:
bomb gamemodes, bomb gamemodes,
unreleased gamemodes unreleased gamemodes
_utility:
host assignment
_other: _other:
dvars
menu menu
code comments code comments
documentation and tutorials documentation and tutorials