diff --git a/maps/mp/bots/_bot_internal.gsc b/maps/mp/bots/_bot_internal.gsc index 3afd9dd..107e813 100644 --- a/maps/mp/bots/_bot_internal.gsc +++ b/maps/mp/bots/_bot_internal.gsc @@ -1775,7 +1775,7 @@ walk() { wait 0.05; - self botMoveTo( self.origin ); + self botSetMoveTo( self.origin ); if ( !getDvarInt( "bots_play_move" ) ) continue; @@ -1787,7 +1787,7 @@ walk() { self.bot.last_next_wp = -1; self.bot.last_second_next_wp = -1; - self botMoveTo( self.origin + self GetVelocity() * 500 ); + self botSetMoveTo( self.origin + self GetVelocity() * 500 ); continue; } @@ -1821,7 +1821,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" ); } @@ -2022,7 +2022,7 @@ movetowards( goal ) while ( distanceSquared( self.origin, goal ) > tempGoalDist ) { - self botMoveTo( goal ); + self botSetMoveTo( goal ); if ( time > 3000 ) { @@ -2039,7 +2039,7 @@ movetowards( goal ) self BotNotifyBotEvent( "stuck" ); - self botMoveTo( randomDir ); + self botSetMoveTo( randomDir ); wait stucks; self stand(); @@ -2405,7 +2405,7 @@ prone() /* Bot will move towards here */ -botMoveTo( where ) +botSetMoveTo( where ) { self.bot.moveTo = where; }