mirror of
https://github.com/ineedbots/t4_bot_warfare.git
synced 2025-06-26 22:31:51 +00:00
isbot
This commit is contained in:
@ -7,6 +7,7 @@ init()
|
||||
level.bot_builtins["botaction"] = ::do_botaction;
|
||||
level.bot_builtins["botstop"] = ::do_botstop;
|
||||
level.bot_builtins["botmovement"] = ::do_botmovement;
|
||||
level.bot_builtins["isbot"] = ::do_isbot;
|
||||
}
|
||||
|
||||
do_printconsole( s )
|
||||
@ -46,3 +47,8 @@ do_botmovement( left, forward )
|
||||
{
|
||||
self BotMovement( left, forward );
|
||||
}
|
||||
|
||||
do_isbot()
|
||||
{
|
||||
return self isBot();
|
||||
}
|
||||
|
Reference in New Issue
Block a user