Gensui Bas
New Member
- Reaction score
- 5
Hello!
I've found some comments about % chance, but all these options seem to deal with only two 2 variables (true and false).
I tried to expend the code, but that didn't seem to work (not to mention that it uses different Random Integer numbers, instead of the same):
The thing I want to do is the following:
-When X happens:
25% Reaction 1
25% Reaction 2
30% Reaction 3
20% Reaction 4
Thanks!
B
(+rep)
I've found some comments about % chance, but all these options seem to deal with only two 2 variables (true and false).
Code:
If-Condition:
(Random integer number between 1 and X) equals Y:
-Then-Action:
(do something)
Else-Action:
(do something)
I tried to expend the code, but that didn't seem to work (not to mention that it uses different Random Integer numbers, instead of the same):
Code:
If-Condition:
(Random integer number between 1 and X) equals Y than:
-Then-Action:
(do something)
Else-Action:
If(All Conditions are True)then do(Then Actions)else do(Else Actions)
If-Condition:
(Random integer number between 1 and X) equals Y:
-etc
The thing I want to do is the following:
-When X happens:
25% Reaction 1
25% Reaction 2
30% Reaction 3
20% Reaction 4
Thanks!
B
(+rep)