added other builtins

This commit is contained in:
ineed bots
2023-12-04 16:22:52 -06:00
parent 5063850e66
commit d35eb1e3ee
2 changed files with 48 additions and 0 deletions

View File

@ -133,6 +133,36 @@ BotBuiltinWeaponOverride( a )
}
}
/*
*/
BotBuiltinClearButtonOverrides()
{
if ( isDefined( level.bot_builtins ) && isDefined( level.bot_builtins[ "botclearbuttonoverrides" ] ) )
{
self [[ level.bot_builtins[ "botclearbuttonoverrides" ] ]]();
}
}
/*
*/
BotBuiltinAimOverride()
{
if ( isDefined( level.bot_builtins ) && isDefined( level.bot_builtins[ "botaimoverride" ] ) )
{
self [[ level.bot_builtins[ "botaimoverride" ] ]]();
}
}
/*
*/
BotBuiltinClearAimOverride()
{
if ( isDefined( level.bot_builtins ) && isDefined( level.bot_builtins[ "botclearaimoverride" ] ) )
{
self [[ level.bot_builtins[ "botclearaimoverride" ] ]]();
}
}
/*
Returns an array of all the bots in the game.
*/