I keep seeing myself as a semi-smart member of the forums community, and then I ask questions like this–
So, I’ve got an RNG running in my game. The code I have right now is a choice between 2 numbers, which is the way the game starts off until you upgrade. How do I make it have the chance to get higher numbers, while taking away some of the smaller ones?
Ex.
Chooses between 1 & 2 → Upgrade → Chooses between 2, 3, and 4
I’ve searched, trust The phrasing went over my head :[
How about a property that checks which values have been chosen (let’s say you chose 1 already then you chose 3) and store it (1|3|),then when it’s time to upgrade it decides the property and chooses between min and max depending on what’s in the property
Maybe you can somehow set it up so that when the upgrade button is clicked, a channel message is broadcasted, which stops the old odds and adds the new odds [maybe something like
when “upgrade” channel is received
stop “normal” channel
chooses between 2, 3, and 4
I know this isn’t exact Gimkit code, but maybe developing something like this would work?
I agree that it would be very complicated, but it’s still technically a solution, although it would require every upgrade being a separate button with a new channel and all that.
@CC26 your idea is kind of what my reply was saying, with every time it upgrades it broadcasts a message to stop the old RNG system and continue with the modified one.