mirror of
https://github.com/ineedbots/iw2_bot_warfare.git
synced 2026-10-04 02:05:35 +00:00
built ins
This commit is contained in:
1 parent
e1ba6f94cb
commit
26517d8729
3 files changed
+40
-18
No files matched your search
@@ -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
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user