ProtoFlux:Random Bool: Difference between revisions

From Resonite Wiki
Created a page for the Random Bool node.
 
Added default value information.
 
Line 21: Line 21:
=== Chance ([[Type:float|float]]) ===  
=== Chance ([[Type:float|float]]) ===  


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


== Outputs ==
== Outputs ==

Latest revision as of 19:50, 30 June 2024

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.