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