Modding
Discord Wishlist on Steam

Node book›Maths

Random

A number by chance from least to most.

One node on the bench: its dropdown switches between the choices below, keeping the wires that still fit. In a file each choice has its own id.

ChoiceIdWhat it does
Numbermath/RandomNumberA number from least to most, by chance.
Whole numbermath/RandomWholeA whole number from least to most by chance, both may come.

Number

A number from least to most, by chance.

Random numberleast0.0most1.0result
Does
A value: worked out when a node wired to it asks
Runs
On every machine
In a file
math/RandomNumber
  • inleasta number

    Lowest.

    Starts as 0.0

  • inmosta number

    Highest.

    Starts as 1.0

  • outresulta number

    The number.

Whole number

A whole number from least to most by chance, both may come.

Random whole numberleast1most6result
Does
A value: worked out when a node wired to it asks
Runs
On every machine
In a file
math/RandomWhole
  • inleasta whole number

    Lowest.

    Starts as 1

  • inmosta whole number

    Highest.

    Starts as 6

  • outresulta whole number

    The number.