nwn

The AngleToVector() NWScript command returns a vector that makes an angle with the positive x-axis of the indicated size (measured in degrees, as a float). This can be used, for example, as part of converting a facing to a location.

Definition

vector AngleToVector (float fAngle)

float fAngle
The size of the desired angle (in degrees).

See also