I'm using the 'rand' command to generate random server broadcasts. The problem is, I've noticed that the order in which I place the rand statements determines which broadcast has the highest chance of displaying. So, the very first rand statement that leads to a broadcast plays 90% of the time because it has the highest chance. Is there any way to make the outcome of multiple rand statements all the same chance? Thanks.
Question
GreenMagic793
Hey guys,
I'm using the 'rand' command to generate random server broadcasts. The problem is, I've noticed that the order in which I place the rand statements determines which broadcast has the highest chance of displaying. So, the very first rand statement that leads to a broadcast plays 90% of the time because it has the highest chance. Is there any way to make the outcome of multiple rand statements all the same chance? Thanks.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.