Got the torpedo AI part working correctly now

Here's a video showing an AI plane doing a torpedo attack on a sub. The software I used to shoot the video was supposed to pause as I was moving the camera around but it didn't so there are some long pauses inbetween scenes. What you'll see is the AI plane with it's torpedo, it dropping the torpedo, it firing on the sub with cannons as it's setting up the torp shot, the torp splashing when it hits the water, and then you'll see the torp wake as it speeds off for it's target. Eventually you'll see the torp impact the sub. You'll also see the AI plane climb and head back to following it's waypoints since it was out of torps and had no bombs
http://www.filefront.com/16921535/AITorpBombers.7z/