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,38 +1088,48 @@ onBotSpawned()
for(;;)
{
self waittill("bot_spawned");
gameFlagWait("prematch_done");
self thread bot_killstreak_think();
self thread bot_weapon_think();
self thread bot_perk_think();
self thread bot_target_vehicle();
self thread bot_equipment_kill_think();
self thread bot_turret_think();
self thread bot_crate_think();
self thread bot_revenge_think();
self thread bot_uav_think();
self thread bot_listen_to_steps();
self thread bot_think_follow();
self thread bot_think_camp();
self thread bot_jav_loc_think();
self thread bot_use_grenade_think();
self thread bot_use_tube_think();
self thread bot_use_equipment_think();
self thread bot_dom_def_think();
self thread bot_dom_spawn_kill_think();
self thread bot_hq();
self thread bot_cap();
self thread start_bot_threads();
}
}
start_bot_threads()
{
self endon("disconnect");
level endon("game_ended");
self endon("death");
gameFlagWait("prematch_done");
self thread bot_killstreak_think();
self thread bot_weapon_think();
self thread bot_perk_think();
self thread bot_target_vehicle();
self thread bot_equipment_kill_think();
self thread bot_turret_think();
self thread bot_crate_think();
self thread bot_revenge_think();
self thread bot_uav_think();
self thread bot_listen_to_steps();
self thread bot_think_follow();
self thread bot_think_camp();
self thread bot_jav_loc_think();
self thread bot_use_grenade_think();
self thread bot_use_tube_think();
self thread bot_use_equipment_think();
self thread bot_dom_def_think();
self thread bot_dom_spawn_kill_think();
self thread bot_hq();
self thread bot_cap();
}
/*
Bot logic for bot determining to camp.
*/

View File

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