mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-05-14 06:14:49 +00:00
Compare commits
No commits in common. "d76bff04a6fe19737e0cb67aac5e9d6e8583212f" and "ab7979f9d1b91b5bdc20a6fb60608e839c1a6dd2" have entirely different histories.
d76bff04a6
...
ab7979f9d1
@ -2455,7 +2455,7 @@ bot_think_camp_loop()
|
||||
|
||||
self SetScriptGoal( campSpot.origin, 16 );
|
||||
|
||||
time = randomintrange( 30, 90 );
|
||||
time = randomintrange( 10, 20 );
|
||||
|
||||
self BotNotifyBotEvent( "camp", "go", campSpot, time );
|
||||
|
||||
@ -2514,17 +2514,7 @@ killCampAfterTime( time )
|
||||
self endon( "disconnect" );
|
||||
self endon( "kill_camp_bot" );
|
||||
|
||||
timeleft = maps\mp\gametypes\_gamelogic::gettimeremaining() / 1000;
|
||||
|
||||
while ( time > 0 && timeleft >= 60 )
|
||||
{
|
||||
wait 1;
|
||||
timeleft = maps\mp\gametypes\_gamelogic::gettimeremaining() / 1000;
|
||||
time--;
|
||||
}
|
||||
|
||||
wait 0.05;
|
||||
|
||||
wait time + 0.05;
|
||||
self ClearScriptGoal();
|
||||
self ClearScriptAimPos();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user