diff --git a/maps/mp/bots/_bot_script.gsc b/maps/mp/bots/_bot_script.gsc index 385973c..91bd3e4 100644 --- a/maps/mp/bots/_bot_script.gsc +++ b/maps/mp/bots/_bot_script.gsc @@ -1729,7 +1729,7 @@ bot_think_camp_loop() self SetScriptGoal( campSpot.origin, 16 ); - time = randomintrange( 10, 20 ); + time = randomintrange( 30, 90 ); self BotNotifyBotEvent( "camp", "go", campSpot, time ); @@ -1788,7 +1788,17 @@ killCampAfterTime( time ) self endon( "disconnect" ); self endon( "kill_camp_bot" ); - wait time + 0.05; + timeleft = maps\mp\gametypes\_globallogic::gettimeremaining() / 1000; + + while ( time > 0 && timeleft >= 60 ) + { + wait 1; + timeleft = maps\mp\gametypes\_globallogic::gettimeremaining() / 1000; + time--; + } + + wait 0.05; + self ClearScriptGoal(); self ClearScriptAimPos();