Difference between revisions of "Sin"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>DewiMorgan
m (debold; notes wasn't available in geck; note slow; add CS links.)
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
 
(One intermediate revision by the same user not shown)
Line 29: Line 29:


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.1)]]
[[Category:Math Functions]]
[[Category:Math Functions]]
[[Category:Math Functions (GECK 1.1)]]

Latest revision as of 13:18, 15 August 2009

Description[edit | edit source]

Sin When given degrees returns the sine of a given angle.

Syntax[edit | edit source]

 sin x     will return the sine of x degrees
 sin x 1  will return the arcsine of x in degrees – note the optional 1 indicating arc-.

Examples[edit | edit source]

None, yet.

Notes[edit | edit source]

  • Sin, cos, tan, pow, log, and abs (particularly pow and log) are extremely slow. Do not use them in script blocks that get executed every frame.
  • This function is new in the GECK, and was not available in the TES4 Construction Set. However, it was available through the OBSE script extender.

See Also[edit | edit source]

Reference[edit | edit source]

None, yet.