Difference between revisions of "Abs"
Jump to navigation
Jump to search
imported>DewiMorgan m (Adding note from cos; debolding headings.) |
imported>DewiMorgan m (→See Also: Reordering for consistency.) |
||
Line 12: | Line 12: | ||
==See Also== | ==See Also== | ||
*[[Cos]] | *[[Cos]] | ||
*[[Log]] | *[[Log]] | ||
*[[Pow]] | *[[Pow]] | ||
*[[Sin]] | |||
*[[Tan]] | |||
*Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/Abs Abs (OBSE function)] | *Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/Abs Abs (OBSE function)] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Math Functions]] | [[Category:Math Functions]] |
Revision as of 12:12, 13 April 2009
Description
Abs When given a number returns the absolute value of the number.
Syntax
abs x will return the absolute value of x.
Notes
- 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 program.