Site Tools


scripting:doc:u:u:setrandomseed

setRandomSeed

(int seed=-1) Set the current random seed. If no seed is provided, then the current time in ms is used.

Syntax

void setRandomSeed([, int %seed=-1]);

Parameters

[optional] int %seed=-1
No description available.

Return value

void
No description available.

Remarks

Examples

Source

Engine

See also

References

initCommon: base/main.cs:15

scripting/doc/u/u/setrandomseed.txt · Last modified: by 127.0.0.1