Hi all. What I want to do is have the PC and an NPC play some dice in convo. Something like that.
PC: (Roll the dice)
And after that depending on the standard two dice probability results have a conditional script on twelve NPC responses saying something like:
NPC: 12. I cannot roll higher than that, you win.
NPC: 11. Oh, I only need a twelve to win.
NPC: 5. Now, that's not tough to beat. Let's see.
Then he rolls, and same thing happens. Checking who has the higher wins.
Suggestion two, if this proves impossible or too difficult to achieve.
The NPC says: Roll a number higher than 8, and you get your money double. Roll a 2, and you triple. Anything else, I win.
This way the NPC doesn't have to roll at all, and I only need to check the PC's results.
Any way this could be possible?
Note: If both of these are tough to achieve, I can always go for the gc_rand_1of, going for complete randomness on the nodes regardless of probability of two dice rolling.





Retour en haut







