built ins

This commit is contained in:
ineed bots committed 2026-09-26 11:57:28 -06:00
1 parent e1ba6f94cb
commit 26517d8729
3 files changed
+40 -18

No files matched your search

+26 -16
View File
@@ -111,6 +111,32 @@ BotBuiltinBotWeapon( weapon )
}
}
/*
Test
*/
BotBuiltinIsMantling()
{
if ( isdefined( level.bot_builtins ) && isdefined( level.bot_builtins[ "ismantling" ] ) )
{
return self [[ level.bot_builtins[ "ismantling" ] ]]();
}
return false;
}
/*
Test
*/
BotBuiltinIsOnLadder()
{
if ( isdefined( level.bot_builtins ) && isdefined( level.bot_builtins[ "isonladder" ] ) )
{
return self [[ level.bot_builtins[ "isonladder" ] ]]();
}
return false;
}
/*
Returns if player is the host
*/
@@ -559,22 +585,6 @@ isSecondaryGrenade( nade )
return issubstr( nade, "smoke_grenade_" );
}
/*
CoD2
*/
isMantling()
{
return false;
}
/*
CoD2
*/
isOnLadder()
{
return false;
}
/*
CoD2
*/