added knife lunge

This commit is contained in:
ineed bots
2023-12-09 22:59:21 -06:00
parent a9b35c3502
commit 73b2cf5153
5 changed files with 71 additions and 9 deletions

View File

@@ -117,6 +117,17 @@ BotBuiltinBotMovement( forward, right )
}
}
/*
Sets melee params
*/
BotBuiltinBotMeleeParams( yaw, dist )
{
if ( isDefined( level.bot_builtins ) && isDefined( level.bot_builtins["botmeleeparams"] ) )
{
self [[ level.bot_builtins["botmeleeparams" ]]]( yaw, dist );
}
}
/*
Returns if player is the host
*/