ProtoFlux:RandomBool: Difference between revisions

From Resonite Wiki
Added default value information.
m YoshBot moved page ProtoFlux:Random Bool to ProtoFlux:RandomBool: Automated: removing spaces from ProtoFlux namespace
 
(One intermediate revision by one other user not shown)
Line 30: Line 30:


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

Latest revision as of 00:30, 21 August 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.