What does epilepsy have to do with alcohol consumption?

Why do they ask you if you have epilepsy when they pull you over for DUI? What happens if you DO have epilepsy, and you take medicine for this disorder. Also, does taking a anti-narcolepsy drug have any effect on driving?