mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-19 09:32:52 +00:00
check for target knife
This commit is contained in:
parent
538269517a
commit
1d464fca49
@ -1582,7 +1582,7 @@ aim_loop()
|
||||
|
||||
conedot = getConeDot( aimpos, eyePos, angles );
|
||||
|
||||
if ( isdefined( self.bot.knifing_target ) )
|
||||
if ( isdefined( self.bot.knifing_target ) && self.bot.knifing_target == target )
|
||||
{
|
||||
self thread bot_lookat( target gettagorigin( "j_spine4" ), 0.05 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user