I built a randomizer using a trigger that picks a random number between 0 and 3, and then sends a channel if 1, 2, or 3 are picked. Sometimes nothing happens, and I don’t know why, so I was wondering if sometimes it picks 0.
I think if you don’t have an option for 0 it shouldn’t happen. This has never been a problem for me, so I don’t really know what’s happening.
But i’m asking if I put a variable block that says “pick a random # from 0 to 3” can 0 be picked?
Probably… Though I don’t know why you would want to.
0 can be picked as it is a number that you have allowed for the code to use. Basically what I mean is that if you have the numbers 0-3 it will pick from the numbers: 0, 1, 2, and 3 vs if you had it with numbers 1-3 it would then only pick the numbers: 1, 2, and 3.
If you don’t want this issue to occur then just change the parameter from 0-3 to 1-3 and it should resolve your issue.
Side note: sorry for the “book” of a response.
I don’t want to, I just think it is ruining my system
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.