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

More bot enable stuff

This commit is contained in:
ineedbots
2021-05-16 22:51:20 -06:00
parent 176440a65a
commit 3bf5cf12ea
4 changed files with 103 additions and 148 deletions

View File

@ -94,6 +94,14 @@ BotPressSmoke(time)
self maps\mp\bots\_bot_internal::smoke(time);
}
/*
Bot presses the use button for time.
*/
BotPressUse(time)
{
self maps\mp\bots\_bot_internal::use(time);
}
/*
Bot will press the ads button for the time
*/
@ -2183,8 +2191,6 @@ botGiveLoadout( team, class, allowCopycat, setPrimarySpawnWeapon ) // setPrimary
loadoutDeathStreak = maps\mp\gametypes\_class::table_getDeathstreak( level.classTableName, class_num );
}
print(self.name + " " + loadoutPerk1 + " " + loadoutPrimary);
self maps\mp\gametypes\_class::loadoutFakePerks( loadoutStreakType );
isCustomClass = issubstr( class, "custom" );
isRecipeClass = issubstr( class, "recipe" );