This commit is contained in:
Your Name 2020-09-13 17:40:13 -06:00
parent 64ecb325b8
commit 0b5040664e

View File

@ -770,31 +770,40 @@ onBotSpawned()
{
self waittill("bot_spawned");
while(level.inPrematchPeriod)
wait 0.05;
self thread bot_killstreak_think();
self thread bot_uav_think();
self thread bot_revenge_think();
self thread bot_kill_equipment();
self thread bot_kill_chopper();
self thread bot_weapon_think();
self thread bot_listen_to_steps();
self thread bot_think_camp();
self thread bot_think_follow();
// grenade and claymore spots
// use equipment
//sab and sd
self thread bot_dom_def_think();
self thread bot_dom_spawn_kill_think();
self thread bot_hq();
self thread start_bot_threads();
}
}
start_bot_threads()
{
self endon("disconnect");
level endon("game_ended");
self endon("death");
while(level.inPrematchPeriod)
wait 0.05;
self thread bot_killstreak_think();
self thread bot_uav_think();
self thread bot_revenge_think();
self thread bot_kill_equipment();
self thread bot_kill_chopper();
self thread bot_weapon_think();
self thread bot_listen_to_steps();
self thread bot_think_camp();
self thread bot_think_follow();
// grenade and claymore spots
// use equipment
//sab and sd
self thread bot_dom_def_think();
self thread bot_dom_spawn_kill_think();
self thread bot_hq();
}
/*
Bot logic for bot determining to camp.
*/