Im making a rng game, its not done yet but how do i display the best roll so far as text? Like how do i use blocks or smt else to compare the rolls to find and show the highest?
and stuff on the side like emojis or ~ ig
I removed the research tag as this isn’t a research topic. (as its not trying to researching things that can be done in GKC for how to do something advanced, just asking for help with RNG something pretty simple in GKC).
Maybe make it take longer and something suspenseful happens like shaking or noises or
like a countdown
like
3 2 1 ITS A PERFECT
I’m guessing he means that he wants something to display the rarest roll that has been rolled. I haven’t actually used GKC in a while, but you would probably need a property set to 0 at the start of the game. For each possible roll, set a variable to a number that goes higher the rarer the roll is, and at the end of the block script for the rolls, if the variable is higher than the property number, then set the property number to that variable. If 2 rolls have equal rarity, then make the more valuable roll have a higher number. To display it??? idk.
Lemme give it a shot…
- Note: This might work…
This is how to set up the roll system[1]
This would be the property device
- Note: set the property scope to player if you want the best roll of the player. set the property scope to global if you want the best roll of everyone.
And this for the overlay or any device that you want to use to display your best roll.
Do the same thing for the other rarities in the overlay. Like I would use another blockcode for Legendary in my example.
- Note: set the overlay [2] scope to player if you want to display the best roll of the player. set the property scope to global if you want to display the best roll of everyone.
Also..
what @unavailible said might work too.
tell me if any of this ends up working or looks like it would.
@Xuch23 Mark solution to whoever helped with the problem the most if your problem is solved.
I guess this could work, i have the rolls set up differently so i might have to do some editing with my code but thanks!
This topic was closed manually because a solution was marked, there hasn’t been any recent activity, and currently the automatic closing system doesn’t work. Contact the moderators if you need this thread reopened.