diff --git a/userraw/maps/mp/bots/_bot_script.gsc b/userraw/maps/mp/bots/_bot_script.gsc index c675e47..864364e 100644 --- a/userraw/maps/mp/bots/_bot_script.gsc +++ b/userraw/maps/mp/bots/_bot_script.gsc @@ -4411,6 +4411,8 @@ bot_killstreak_think_loop( data ) if ( DistanceSquared( self.origin, forwardTrace["position"] ) < 1000 * 1000 && self.pers["bots"]["skill"]["base"] > 3 ) return; + self BotNotifyBotEvent( "killstreak", "call", streakName ); + self BotStopMoving( true ); self SetScriptAimPos( forwardTrace["position"] ); @@ -4421,8 +4423,6 @@ bot_killstreak_think_loop( data ) return; } - self BotNotifyBotEvent( "killstreak", "call", streakName ); - wait 1; self notify( "place_sentry" ); wait 0.05; @@ -4441,6 +4441,8 @@ bot_killstreak_think_loop( data ) if ( !isDefined( location ) ) return; + self BotNotifyBotEvent( "killstreak", "call", streakName, location ); + self BotRandomStance(); self setUsingRemote( "remotemissile" ); self thread clear_remote_on_death(); @@ -4454,8 +4456,6 @@ bot_killstreak_think_loop( data ) return; } - self BotNotifyBotEvent( "killstreak", "call", streakName ); - wait 1; self notify( "bot_clear_remote_on_death" ); self BotStopMoving( false ); @@ -4546,6 +4546,8 @@ bot_killstreak_think_loop( data ) if ( !bulletTracePassed( forwardTrace["position"], forwardTrace["position"] + ( 0, 0, 2048 ), false, self ) && self.pers["bots"]["skill"]["base"] > 3 ) return; + self BotNotifyBotEvent( "killstreak", "call", streakName ); + self BotStopMoving( true ); self SetScriptAimPos( forwardTrace["position"] ); @@ -4556,8 +4558,6 @@ bot_killstreak_think_loop( data ) return; } - self BotNotifyBotEvent( "killstreak", "call", streakName ); - self thread fire_current_weapon(); ret = self waittill_any_timeout( 5, "grenade_fire" );