From 0584f6b2ff47d267e2874e2bb2bacf8e0411a569 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 30 Aug 2020 15:59:32 -0600 Subject: [PATCH] oops --- userraw/maps/mp/bots/_bot_script.gsc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/userraw/maps/mp/bots/_bot_script.gsc b/userraw/maps/mp/bots/_bot_script.gsc index d0a7797..8654c85 100644 --- a/userraw/maps/mp/bots/_bot_script.gsc +++ b/userraw/maps/mp/bots/_bot_script.gsc @@ -1377,7 +1377,7 @@ bot_equipment_kill_think() if (isDefined(target.enemyTrigger)) { - if ( self HasScriptGoal() ) + if ( self HasScriptGoal() || self.bot_lock_goal ) continue; self thread bot_inc_bots(target, true); @@ -1426,7 +1426,7 @@ bot_listen_to_steps() { wait 1; - if(self HasScriptGoal()) + if(self HasScriptGoal() || self.bot_lock_goal) continue; if(self.pers["bots"]["skill"]["base"] < 3) @@ -1524,7 +1524,7 @@ bot_uav_think() { wait 0.75; - if ( self HasScriptGoal() ) + if ( self HasScriptGoal() || self.bot_lock_goal ) continue; if(self.pers["bots"]["skill"]["base"] <= 1) @@ -1595,7 +1595,7 @@ bot_revenge_think() { wait( RandomIntRange( 1, 5 ) ); - if(self HasScriptGoal()) + if(self HasScriptGoal() || self.bot_lock_goal) return; if ( randomint( 100 ) < 75 ) @@ -1728,7 +1728,7 @@ bot_turret_think() if ( turret.bots >= 2 ) continue; - if(!facing && !self HasScriptGoal()) + if(!facing && !self HasScriptGoal() && !self.bot_lock_goal) { self thread bot_inc_bots(turret, true); self SetScriptGoal(turret.origin, 16); @@ -1768,11 +1768,11 @@ bot_crate_think() if ( RandomInt( 100 ) < 20 && ret != "crate_physics_done" ) continue; - if ( self HasScriptGoal() ) + if ( self HasScriptGoal() || self.bot_lock_goal ) { wait 0.1;//because bot_crate_landed notify causes a same frame ClearScriptGoal - if( self HasScriptGoal() ) + if( self HasScriptGoal() || self.bot_lock_goal ) continue; } @@ -2243,7 +2243,7 @@ bot_killstreak_think() { if (streakName == "airdrop_mega" || streakName == "airdrop_sentry_minigun" || streakName == "airdrop") { - if (self HasScriptGoal()) + if (self HasScriptGoal() || self.bot_lock_goal) continue; if (streakName != "airdrop_mega" && level.littleBirds > 2)