I have decided to make a new game, so I went into a trigger and successfully made an RNG!!! …only to find out that it’s NOT a “random” number generator, and will always give me 20 water. Any clue how to fix this?
Screenshots
Vending machine settings (where you go to get the random water)
Each channel gives you 10x the amount of water (for example, all Channel 1 gives you 10 water, channel 2 gives you 20, so on and so forth all the way until channel 10)
Thank you highly sophisticated forumers who know what they’re doing (if you couldn’t tell I don’t because I’ve never made one of these before…)
In your block code, you are checking 1 = 1, which will always return true. To fix this problem, you can make a variable x and set it to random integer from [1] to [10] and then broadcast on
Broadcast Message on Channel: Create text with: "Water"
: x
Honestly, that’s probably a better way to do things than having the trigger do it… and then this way I won’t have an army of ten item granters across my screen when I’m trying to decorate…