VectorToAngle

The   NWScript command returns a float that is the number of degrees the indicated vector makes with the positive -axis. This can be used, for example, as part of converting a location to a facing.