mirror of
https://github.com/ineedbots/t4_bot_warfare.git
synced 2025-04-20 23:25:42 +00:00
small fix
This commit is contained in:
parent
d90a1a29b8
commit
8f5f1e0572
@ -2339,9 +2339,8 @@ follow_target_loop()
|
|||||||
if ( randomInt( 100 ) > self.pers["bots"]["behavior"]["follow"] * 5 )
|
if ( randomInt( 100 ) > self.pers["bots"]["behavior"]["follow"] * 5 )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
self thread stop_go_target_on_death( threat );
|
|
||||||
|
|
||||||
self SetScriptGoal( threat.origin, 64 );
|
self SetScriptGoal( threat.origin, 64 );
|
||||||
|
self thread stop_go_target_on_death( threat );
|
||||||
|
|
||||||
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();
|
||||||
@ -2897,8 +2896,8 @@ bot_uav_think_loop()
|
|||||||
|
|
||||||
if ( !self HasScriptGoal() && !self.bot_lock_goal )
|
if ( !self HasScriptGoal() && !self.bot_lock_goal )
|
||||||
{
|
{
|
||||||
self thread stop_go_target_on_death( player );
|
|
||||||
self SetScriptGoal( player.origin, 128 );
|
self SetScriptGoal( player.origin, 128 );
|
||||||
|
self thread stop_go_target_on_death( player );
|
||||||
|
|
||||||
if ( self waittill_any_return( "goal", "bad_path", "new_goal" ) != "new_goal" )
|
if ( self waittill_any_return( "goal", "bad_path", "new_goal" ) != "new_goal" )
|
||||||
self ClearScriptGoal();
|
self ClearScriptGoal();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user