Problem description:Is there a way to choose random choices, for example
(prob doesnt work)
rand(1,3)
if(1)
...
if(2)
...
if(3)
...
Code:
Problem description:Is there a way to choose random choices, for example (prob doesnt work) rand(1,3) |
Here's a couple of other options:
mob/verb/Test() The last one is probably the easiest to configure, but is a little difficult to read. <edit> Fixed probabilities in third example so they add up to 100 |
In response to DarkCampainger
|
|
Lol, I was gonna go into all of that but found myself not wanting to provide additional information when it was un-needed for what was intended.
I'll vote yours up though, you put effort in your response. |
In response to Chiwy8
|
|
Yea, it's not too bad so long as you align the text nicely.
Also, I made a quick adjustment to it. The probabilities in pick() should add up to 100 to have the expected outcomes. |
just rand(1,3) doesn't do anything.