It would need a bit of scripting since the only way i know to make something glide is make it a air vehicle. So you would need to make a vehicle on gun fired, make that vehicle move the direction it should go, make it search targets per script and a bit more of scripting.
I am working on something similar for the SADARM 155mm.