From e02f7d6cb2a4cb14e22cc96481ce9e37572a63e6 Mon Sep 17 00:00:00 2001 From: ineed bots Date: Wed, 29 Nov 2023 01:18:20 -0600 Subject: [PATCH] change func name --- maps/mp/bots/_bot_internal.gsc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/maps/mp/bots/_bot_internal.gsc b/maps/mp/bots/_bot_internal.gsc index 55aa826..1ebddfd 100644 --- a/maps/mp/bots/_bot_internal.gsc +++ b/maps/mp/bots/_bot_internal.gsc @@ -2086,7 +2086,7 @@ walk() if ( !isAlive( self ) ) return; - self botMoveTo( self.bot.moveOrigin ); + self botSetMoveTo( self.bot.moveOrigin ); if ( !getDVarINt( "bots_play_move" ) ) continue; @@ -2098,7 +2098,7 @@ walk() { self.bot.last_next_wp = -1; self.bot.last_second_next_wp = -1; - self botMoveTo( self.bot.moveOrigin + self GetVelocity() * 500 ); + self botSetMoveTo( self.bot.moveOrigin + self GetVelocity() * 500 ); continue; } @@ -2132,7 +2132,7 @@ strafe( target ) self.bot.last_next_wp = -1; self.bot.last_second_next_wp = -1; - self botMoveTo( strafe ); + self botSetMoveTo( strafe ); wait 2; self notify( "kill_goal" ); } @@ -2315,7 +2315,7 @@ movetowards( goal ) while ( distanceSquared( self.bot.moveOrigin, goal ) > tempGoalDist ) { - self botMoveTo( goal ); + self botSetMoveTo( goal ); if ( time > 3000 ) { @@ -2332,7 +2332,7 @@ movetowards( goal ) self BotNotifyBotEvent( "stuck" ); - self botMoveTo( randomDir ); + self botSetMoveTo( randomDir ); wait stucks; self stand(); @@ -2734,7 +2734,7 @@ prone() /* Bot will move towards here */ -botMoveTo( where ) +botSetMoveTo( where ) { self.bot.moveTo = where; }