This commit is contained in:
INeedGames 2020-12-23 22:43:56 -06:00
parent 4be996d527
commit 0a2f129216
2 changed files with 3 additions and 4 deletions

View File

@ -111,7 +111,6 @@ init()
level.bots_maxShotgunDistance = 500; level.bots_maxShotgunDistance = 500;
level.bots_maxShotgunDistance *= level.bots_maxShotgunDistance; level.bots_maxShotgunDistance *= level.bots_maxShotgunDistance;
level.bots_listenDist = 100; level.bots_listenDist = 100;
level.bots_listenDist *= level.bots_listenDist;
level.smokeRadius = 255; level.smokeRadius = 255;

View File

@ -2275,9 +2275,6 @@ bot_listen_to_steps()
{ {
wait 1; wait 1;
if(self HasScriptGoal() || self.bot_lock_goal)
continue;
if(self.pers["bots"]["skill"]["base"] < 3) if(self.pers["bots"]["skill"]["base"] < 3)
continue; continue;
@ -2325,6 +2322,9 @@ bot_listen_to_steps()
continue; continue;
} }
if(self HasScriptGoal() || self.bot_lock_goal)
continue;
self SetScriptGoal( heard.origin, 64 ); self SetScriptGoal( heard.origin, 64 );
if (self waittill_any_return( "goal", "bad_path", "new_goal" ) != "new_goal") if (self waittill_any_return( "goal", "bad_path", "new_goal" ) != "new_goal")