Vertical aim problem, solved!

http://wiseman303.150m.com/downloads/files/verticalaim.zip

The .blend file has two scenes, one using a 3d track to actuator, and one using rays to tell the guns to lift or lower. You can move the target with the arrow keys.