GetRandomizerSeed

From GECK
Jump to: navigation, search


A function added by the ShowOff NVSE Plugin.

Description

Returns the randomizer seed (unsigned int) for the calling mod. If no seed is set, returns -1 (no seed can be set to a negative value).

  • BUG: If no seed is set, currently tries to return NAN, but that can't be represented as an int. So this behavior will be changed!

Syntax

[help]
(seed:int) anyReference.GetRandomizerSeed 

Or:

(seed:int) anyReference.GetSeed

Example

GetRandomizerSeed

Returns the seed for whatever mod is calling this function.

See Also