Background for Skyrim SE
Member of the PO3_SKSEFunctions script
floatfunctionGenerateRandomFloat(floatafMin, floatafMax)NativeGlobal

Description

GitHub Wiki Description (PO3's PE)

  • Calculates a random float between afMin and afMax, based on Mersenne Twister

Caveats


Parameters

floatafMin

floatafMax


Examples

Auto-Generated Example

float myFloat__afMin
float myFloat__afMax

float returnedValue = PO3_SKSEFunctions.GenerateRandomFloat(myFloat__afMin, myFloat__afMax)

Additional References

View this function on the GitHub Wiki for powerofthree's Papyrus Extender

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.