VectorToAngle() NWScript command returns a float that is the number of degrees the indicated vector makes with the positive
x-axis. This can be used, for example, as part of converting a location to a facing.
float VectorToAngle (vector vVector
- The vector making the angle whose size gets returned.
AngleToVector()— converts angles to vectors.