mirror of
https://github.com/ineedbots/t5_bot_warfare.git
synced 2025-04-20 16:45:43 +00:00
setup builtin
This commit is contained in:
parent
9d4517f67f
commit
5df8f4fcc6
@ -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.
|
Returns an array of all the bots in the game.
|
||||||
*/
|
*/
|
||||||
|
@ -13,6 +13,7 @@ init()
|
|||||||
level.bot_builtins["botclearbuttonoverrides"] = ::do_botclearbuttonoverrides;
|
level.bot_builtins["botclearbuttonoverrides"] = ::do_botclearbuttonoverrides;
|
||||||
level.bot_builtins["botaimoverride"] = ::do_botaimoverride;
|
level.bot_builtins["botaimoverride"] = ::do_botaimoverride;
|
||||||
level.bot_builtins["botclearaimoverride"] = ::do_botclearaimoverride;
|
level.bot_builtins["botclearaimoverride"] = ::do_botclearaimoverride;
|
||||||
|
level.bot_builtins["botmeleeparams"] = ::do_botmeleeparams;
|
||||||
}
|
}
|
||||||
|
|
||||||
do_printconsole( s )
|
do_printconsole( s )
|
||||||
@ -79,3 +80,8 @@ do_botclearaimoverride()
|
|||||||
{
|
{
|
||||||
self botClearAimOverride();
|
self botClearAimOverride();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_botmeleeparams( yaw, dist )
|
||||||
|
{
|
||||||
|
// self botMeleeParams( yaw, dist );
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user