There are also similar things to a dispenser rapidly firing arrows in real life. The Romans and people under Genghis Khan (I forget what they were called) both had arrow machine guns. So a plain old dispenser rapidly shooting arrows would be plenty realistic.