Convert a 3D vector into a vertical angle

Miscellaneous Forums/General Discussion/Convert a 3D vector into a vertical angle

Not sure exactly which angle your after, but here's how to find the angle of a vector relative to the XZ plane. (Blitz Max code)
atan2(y,sqr(x*x+z*z))