mirror of
https://github.com/ineedbots/t6_bot_warfare.git
synced 2025-04-19 17:02:54 +00:00
setup the builtin
This commit is contained in:
parent
b880880aba
commit
99c11b2aa3
@ -1245,6 +1245,17 @@ BotBuiltinClearAimOverride()
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Sets melee params
|
||||
*/
|
||||
BotBuiltinBotMeleeParams( entNum, dist )
|
||||
{
|
||||
if ( isDefined( level.bot_builtins ) && isDefined( level.bot_builtins["botmeleeparams"] ) )
|
||||
{
|
||||
self [[ level.bot_builtins["botmeleeparams" ]]]( entNum, dist );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
*/
|
||||
BotBuiltinReplaceFunc( a, b )
|
||||
|
@ -11,6 +11,7 @@ main()
|
||||
level.bot_builtins["botclearbuttonoverrides"] = ::do_botclearbuttonoverrides;
|
||||
level.bot_builtins["botaimoverride"] = ::do_botaimoverride;
|
||||
level.bot_builtins["botclearaimoverride"] = ::do_botclearaimoverride;
|
||||
level.bot_builtins["botmeleeparams"] = ::do_botmeleeparams;
|
||||
level.bot_builtins["getfunction"] = ::do_getfunction;
|
||||
level.bot_builtins["replacefunc"] = ::do_replacefunc;
|
||||
level.bot_builtins["disabledetouronce"] = ::do_disabledetouronce;
|
||||
@ -85,3 +86,8 @@ do_disabledetouronce( a )
|
||||
{
|
||||
disabledetouronce( a );
|
||||
}
|
||||
|
||||
do_botmeleeparams( entNum, dist )
|
||||
{
|
||||
// self BotMeleeParams( entNum, dist );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user