setup builtin

This commit is contained in:
ineed bots
2023-12-13 14:48:12 -06:00
parent 9d4517f67f
commit 5df8f4fcc6
2 changed files with 17 additions and 0 deletions

View File

@ -163,6 +163,17 @@ BotBuiltinClearAimOverride()
}
}
/*
Sets melee params
*/
BotBuiltinBotMeleeParams( yaw, dist )
{
if ( isDefined( level.bot_builtins ) && isDefined( level.bot_builtins["botmeleeparams"] ) )
{
self [[ level.bot_builtins["botmeleeparams" ]]]( yaw, dist );
}
}
/*
Returns an array of all the bots in the game.
*/