Progetto H — API Reference API & Scripting Documentation
Static function Shared Native

math.randomseed

Sets a seed for the pseudo-random generator: Equal seeds produce equal sequences of numbers

Syntax

Lua
math.randomseed(seed)

Parameters

Name Type Default Description
seed number The new seed