mathRndSeed

Returns the current random number generator seed. Takes no parameters. Returns the seed value currently being used by the random number generator.

Mathematics

Parameters & Returns

Parameters

This function takes no parameters.

Returns

Int

Quick Summary

Returns the current random number generator seed. Takes no parameters. Returns the seed value currently being used by the random number generator.

Technical Exegesis...

Returns the seed value currently being used by the random number generator. If mathSeedRnd has not been called, this will be the auto-generated time-based seed.

Useful for saving and restoring random state, or debugging random number sequences.

Example

Example.bam
; No example implemented yet