Hm. Still not sure I am doing it right.
In my book Input 4 (green) should only have a roughly 5 percent chance of being picked.
Yet in a range from 0 - 1500 randomization I seem to be hitting green a lot.
I read the graph as:
- Generate random value of 0 - 1
- If Value less than 0.3 Output 1, else output random value
- If Value less than 0.6 Output 2, else output random value
- If Value less than 0.95 Output 3, else output random value
-If Value less than 0.99 Output 4, else output random value
I would almost need to figure out the equivalent of a 'break' statement, that if one if condition becomes true, that it stops and outputs the value.
Because at the moment it almost seems that even though conditions are met earlier in the chain the value (1,2,3) that is output doesn't get through the chain ?
This visual coding is confusing me, I want an expression node

EDIT: Tried as well feeding the the Output of the second to last if statement into the ELSE of the last if statement since I assumed that if any of the previous ifs returned a value greater than 1 (2,3) that I would get this value through the chain this way but no joy