He'll play a professional gamer in the untitled film.

Actor Will Ferrell will star in a new movie about competitive gaming, production company Legendary announced today. The Anchorman star will play a professional gamer in the untitled movie. The role is said to be akin to his Ricky Bobby character in the NASCAR movie Talladega Nights.

There is no word yet on what the story will be, though we know that Funny or Die's Michael Kvamme and WaitListComedy founder Jordan Dunn will write the script. Legendary said in its announcement today that top esports teams Evil Geniuses and Fnatic are in talks to appear in the film in some way.

Legendary was also behind this year's Warcraft and Dead Rising: Endgame. The company is also producing the upcoming Detective Pikachu film.

Ferrell does have some on-screen gaming experience. In 2014, he teamed up with a gaming charity to help raise money for cancer research. Check out the Funny or Die video announcing the event above.

No supporting cast, director, title, or release date was announced for the upcoming esports movie.

The next major video game film is Assassin's Creed, which is based on the Ubisoft series. It comes to theaters on December 21.