Background for Fallout 4
Member of the Math script
floatfunctionpow(floatx, floaty)NativeGlobal

Description

Wiki Description

Raises x to the y power, usually written as xy.

Documentation Comment

Calculates x raised to the y power


Caveats


Parameters

floatx

CK Wiki Description

The value to raise.

floaty

CK Wiki Description

The power to raise the value to.


Examples

float x = pow(2, 2) ; x == 4
float y = pow(2, 8) ; y == 256

Auto-Generated Example

float myFloat__x
float myFloat__y

float returnedValue = Math.pow(myFloat__x, myFloat__y)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.