You choose which player, planeswalker, or battle the creature you put onto the battlefield is attacking as it enters the battlefield. It doesn't have to be the same player, planeswalker, or battle that The Grim Captain is attacking.