Background for Fallout 4

Math


Inheritance Tree

No indexed scripts extend this script.

Structs
Properties
Events
Functions
floatfunctionabs(floatafValue)NativeGlobal

Calculates the absolute value of the number it is given.

floatfunctionacos(floatafValue)NativeGlobal

Calculates the arccosine of the value it is given. The returned value is in degrees.

floatfunctionasin(floatafValue)NativeGlobal

Calculates the arcsine of the value it is given. The returned value is in degrees.

floatfunctionatan(floatafValue)NativeGlobal

Calculates the arctangent of the value it is given. The returned value is in degrees.

intfunctionCeiling(floatafValue)NativeGlobal

Calculates the smallest integer greater than or equal to the passed in value.

floatfunctioncos(floatafValue)NativeGlobal

Calculates the cosine of the value (in degrees) it is given.

floatfunctionDegreesToRadians(floatafDegrees)NativeGlobal

Converts from degrees to radians.

intfunctionFloor(floatafValue)NativeGlobal

Calculates the largest integer less than or equal to the passed in value.

floatfunctionpow(floatx, floaty)NativeGlobal

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

floatfunctionRadiansToDegrees(floatafRadians)NativeGlobal

Converts from radians to degrees.

floatfunctionsin(floatafValue)NativeGlobal

Calculates the sine of the value (in degrees) it is given.

floatfunctionsqrt(floatafValue)NativeGlobal

Calculates the square root of the number it is given.

floatfunctiontan(floatafValue)NativeGlobal

Calculates the tangent of the value (in degrees) it is given.

floatfunctionMax(floatafValue1, floatafValue2)Global

Returns the larger of the two values passed in.

floatfunctionMin(floatafValue1, floatafValue2)Global

Returns the smaller of the two values passed in.

intfunctionLeftShift(intvalue, intshiftBy)NativeGlobal

Shifts value left by n number of bits.

intfunctionRightShift(intvalue, intshiftBy)NativeGlobal

Shifts value right by n number of bits.

intfunctionLogicalAnd(intarg1, intarg2)NativeGlobal

Bitwise ANDs arg1 and arg2.

Despite being named "Logical", this function performs a bitwise operation. Ordinary logical operators are available in vanilla Papyrus.

intfunctionLogicalOr(intarg1, intarg2)NativeGlobal

Bitwise ORs arg1 and arg2.

Despite being named "Logical", this function performs a bitwise operation. Ordinary logical operators are available in vanilla Papyrus.

intfunctionLogicalXor(intarg1, intarg2)NativeGlobal

Bitwise XORs(Exclusive OR) arg1 and arg2.

Despite being named "Logical", this function performs a bitwise operation.

intfunctionLogicalNot(intarg1)NativeGlobal

Inverts arg1's bits.

Despite being named "Logical", this function performs a bitwise operation. Ordinary logical operators are available in vanilla Papyrus.

floatfunctionLog(floatarg1)NativeGlobal

Returns the natural logarithm of a specified number.

floatfunctionExp(floatarg1)NativeGlobal

Calculates e (Euler's number) raised to the given power of afArg1.

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