From e181931ca205f9edcb1b7304ce82320e5c11886e Mon Sep 17 00:00:00 2001 From: ineed bots Date: Thu, 21 Dec 2023 21:46:48 -0600 Subject: [PATCH] some misses --- maps/mp/bots/_bot_internal.gsc | 4 ++-- maps/mp/bots/_bot_utility.gsc | 5 ++--- maps/mp/bots/_menu.gsc | 4 ++-- maps/mp/bots/_wp_editor.gsc | 10 +++++----- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/maps/mp/bots/_bot_internal.gsc b/maps/mp/bots/_bot_internal.gsc index d0da081..cca84ef 100644 --- a/maps/mp/bots/_bot_internal.gsc +++ b/maps/mp/bots/_bot_internal.gsc @@ -375,7 +375,7 @@ doBotMovement_loop( data ) } // climb through windows - if ( self isMantling() ) + if ( self ismantling() ) { data.wasmantling = true; self crouch(); @@ -395,7 +395,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 isonladder() ) { data.i = 0; self thread jump(); diff --git a/maps/mp/bots/_bot_utility.gsc b/maps/mp/bots/_bot_utility.gsc index 6ae1131..589e3f0 100644 --- a/maps/mp/bots/_bot_utility.gsc +++ b/maps/mp/bots/_bot_utility.gsc @@ -3116,7 +3116,7 @@ bombPlantedFix( destroyedObj, player ) level.tickingobject = destroyedObj.visuals[ 0 ]; level.timelimitoverride = true; - setGameEndTime( int( gettime() + ( level.bombtimer * 1000 ) ) ); + setgameendtime( int( gettime() + ( level.bombtimer * 1000 ) ) ); setdvar( "ui_bomb_timer", 1 ); if ( !level.multibomb ) @@ -3128,7 +3128,6 @@ bombPlantedFix( destroyedObj, player ) } else { - for ( index = 0; index < level.players.size; index++ ) { if ( isdefined( level.players[ index ].carryicon ) ) @@ -3223,7 +3222,7 @@ bombPlantedFix( destroyedObj, player ) defuseObject maps\mp\gametypes\_gameobjects::disableobject(); - setGameEndTime( 0 ); + setgameendtime( 0 ); wait 3; diff --git a/maps/mp/bots/_menu.gsc b/maps/mp/bots/_menu.gsc index 0fc74b2..bb06c7a 100644 --- a/maps/mp/bots/_menu.gsc +++ b/maps/mp/bots/_menu.gsc @@ -146,7 +146,7 @@ watchPlayerOpenMenu() for ( ;; ) { - while ( !self FragButtonPressed() || !self SecondaryOffhandButtonPressed() ) + while ( !self fragbuttonpressed() || !self secondaryoffhandbuttonpressed() ) { wait 0.05; } @@ -179,7 +179,7 @@ watchPlayerOpenMenu() } } - while ( self FragButtonPressed() && self SecondaryOffhandButtonPressed() ) + while ( self fragbuttonpressed() && self secondaryoffhandbuttonpressed() ) { wait 0.05; } diff --git a/maps/mp/bots/_wp_editor.gsc b/maps/mp/bots/_wp_editor.gsc index 526b0f9..2847678 100644 --- a/maps/mp/bots/_wp_editor.gsc +++ b/maps/mp/bots/_wp_editor.gsc @@ -115,7 +115,7 @@ beginDebug() self.closest = -1; self.command = undefined; - self clearPerks(); + self clearperks(); self takeallweapons(); self.specialty = []; self giveweapon( "m16_gl_mp" ); @@ -221,7 +221,7 @@ addWaypoints() for ( ;; ) { - while ( !self SecondaryOffhandButtonPressed() || isdefined( self.command ) ) + while ( !self secondaryoffhandbuttonpressed() || isdefined( self.command ) ) { wait 0.05; } @@ -240,7 +240,7 @@ addWaypoints() self.command = undefined; - while ( self SecondaryOffhandButtonPressed() ) + while ( self secondaryoffhandbuttonpressed() ) { wait 0.05; } @@ -290,7 +290,7 @@ deleteWaypoints() for ( ;; ) { - while ( !self fragButtonPressed() || isdefined( self.command ) ) + while ( !self fragbuttonpressed() || isdefined( self.command ) ) { wait 0.05; } @@ -317,7 +317,7 @@ deleteWaypoints() self.command = undefined; - while ( self fragButtonPressed() ) + while ( self fragbuttonpressed() ) { wait 0.05; }