Cos

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

When given degrees returns the cosine of a given angle.

Syntax

[help]
Cos x:float Arc:int (optional)

Example

set x to player.GetAngle X

cos x    ;will return the cosine of x degrees

cos x 1  ;will return the arccosine of x in degrees – note the optional 1 indicating arc-. 

See Also