The Switch can output different sets of logic links based on a value input.
Edit | Add cases or change switch type between Integer Switch, Decimal Range Switch and Probability Distribution |
Execute | Executes the Node |
↳ On Start | Executes the Node at the start of the game |
Enabled | Enable or disable the node. Disabled Nodes cannot be executed |
Value | The values that determines which output will be sent |
Cases | Output links for each available case |
Default | Output link that will be executed if input doesn't match any of the cases |
By tapping Edit in the Switch node you can change switch type between Integer Switch, Decimal Range Switch and Probability Switch and add your own cases.
Executes value based on the input integer Value.
Executes Case based on in which range the input value lands. For example, 1.5 executes Case 1.0 … 2.0.
Executes Output randomly based on probability. Higher value means higher chance to get executed.
Here's a link to the hype that shows how to implement and use the Switch node: