mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 05:55:42 +00:00
fast continue
This commit is contained in:
parent
8a9c7fb246
commit
cff0a49edd
@ -2868,9 +2868,16 @@ bot_killstreak_think()
|
||||
self endon("death");
|
||||
level endon("game_ended");
|
||||
|
||||
doFastContinue = false;
|
||||
|
||||
for (;;)
|
||||
{
|
||||
wait randomIntRange(1, 3);
|
||||
if (doFastContinue)
|
||||
{
|
||||
doFastContinue = false;
|
||||
|
||||
wait randomIntRange(1, 3);
|
||||
}
|
||||
|
||||
if ( !isDefined( self.pers["killstreaks"][0] ) )
|
||||
continue;
|
||||
@ -2937,6 +2944,7 @@ bot_killstreak_think()
|
||||
if (self waittill_any_return("new_goal", "goal", "bad_path") != "new_goal")
|
||||
self ClearScriptGoal();
|
||||
|
||||
doFastContinue = true;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user