Pow

From the Fallout3 GECK Wiki
Revision as of 12:02, 15 September 2009 by imported>Zumbs (Added warning that pow does not compile)
Jump to navigation Jump to search

Description

Pow When given two numbers will return the value of the first to the power of the second.

WARNING: This function does not work. When used in the GECK, the script compiler throws the error Syntax Error. Unknown command 'pow', as noted in this thread.

Syntax

 pow x y     will return x^y
 pow x .5  will return the square root of x

Examples

None, yet.

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 script extender.

See Also

Reference

None, yet.