1
0
mirror of https://github.com/ineedbots/iw5_bot_warfare.git synced 2025-06-28 23:21:51 +00:00

Better crouch riot

This commit is contained in:
ineed bots
2022-04-03 18:14:19 -06:00
parent 7e7e2edbc7
commit f54c1f6e97
3 changed files with 3 additions and 10 deletions

View File

@ -868,6 +868,9 @@ stance_loop()
toStance = "stand";
}
if ( self.hasRiotShieldEquipped && isDefined( self.bot.target ) && isDefined( self.bot.target.entity ) && isPlayer( self.bot.target.entity ) )
toStance = "crouch";
if ( toStance != "stand" && toStance != "crouch" && toStance != "prone" )
toStance = "crouch";