turret watcher

This commit is contained in:
ineed bots
2024-05-09 14:11:09 -06:00
parent f683a78336
commit 289f2b3dc5
2 changed files with 46 additions and 1 deletions
+8 -1
View File
@@ -466,7 +466,7 @@ getRemoteBoostTime()
case 7:
return 500;
default:
return 500;
}
@@ -683,6 +683,13 @@ watchPickupGun()
continue;
}
// todo have bots use turrets instead of just kicking them off of it
if ( isdefined( self.turret ) )
{
self thread use( 0.5 );
continue;
}
weap = self getcurrentweapon();
if ( weap != "none" && self getammocount( weap ) )