What a family man! Brad Pitt revealed that he decided to take on zombie epic World War Z as a way to connect with his three sons -- Maddox, 11, Pax, 9, and Knox, 4.

"Four years ago I knew nothing about zombies but now I consider myself an expert," he told reporters at the CinemaCon convention on Monday, April 15, Deadline.com reports. "This whole thing started because I just wanted to do a film my boys could see before they turned 18, one they liked anyway and they loved zombies. So we settled on Max Brooks' book called World War Z."

PHOTOS: Brad Pitt's life as a dad

The 49-year-old actor is also father to three girls with longtime partner Angelina Jolie -- Zahara, 8, Shiloh, 6, and Knox's twin sister Vivienne, 4.

Pitt added that deciding to take on the film proved to be a challenge in two ways: "How do we keep the global spectacular dynamic scope of the book and how do we originate a zombie film that's been done quite often and really really well?" he asked as he introduced the film.

PHOTOS: Jolie-Pitt kids all grown up!

"What you are about to see is our answer to those two questions," he continued. "We got a little carried away. I think you are going to like this as much as my boys are going to."

This article originally appeared on Usmagazine.com: Brad Pitt: I Made World War Z for My Sons