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
@@ -242,7 +242,7 @@ doBotMovement_loop( data )
|
||||
}
|
||||
|
||||
// climb through windows
|
||||
if ( self isMantling() )
|
||||
if ( self BotBuiltinIsMantling() )
|
||||
{
|
||||
data.wasmantling = true;
|
||||
self crouch();
|
||||
@@ -262,7 +262,7 @@ doBotMovement_loop( data )
|
||||
// check if need to jump
|
||||
bt = bullettrace( startPosForward, startPosForward - ( 0, 0, 40 ), false, self );
|
||||
|
||||
if ( bt[ "fraction" ] < 1 && bt[ "normal" ][ 2 ] > 0.9 && data.i > 1.5 && !self isOnLadder() )
|
||||
if ( bt[ "fraction" ] < 1 && bt[ "normal" ][ 2 ] > 0.9 && data.i > 1.5 && !self BotBuiltinIsOnLadder() )
|
||||
{
|
||||
data.i = 0;
|
||||
self thread jump();
|
||||
|
||||
Reference in new issue
Block a user