ProtoFlux:Random Bool: Difference between revisions

From Resonite Wiki
Added default value information.
Added category: ContinuouslyChanging nodes
 
Line 30: Line 30:


[[Category:ProtoFlux:Math:Random]]
[[Category:ProtoFlux:Math:Random]]
[[Category:ContinuouslyChanging nodes]]

Latest revision as of 06:54, 27 May 2025

Random Bool
Chance
*
Random

The Random Bool node takes in an (optional) chance and returns a random bool value.

This node constantly changes its value every frame, if you want to use this value, make sure to either Write to a Variable or use it within that frame.

Inputs

Chance (float)

The shift in probability to have a higher chance to get a certain result from this node. The default is 0.5.

Outputs

* (bool)

The random result.