So basically I’m trying to make a mini game where you click a number and it sends a notification trying to guess your number. I have tryed for a long time but could not figure it out.
So, the notification guesses your number?
RNG ![]()
and a checker or something I guess
I think this would require more advance methods like that AI think we studied on because it requires a multi-answer method
A block code randomizer in a Trigger, the number it lands on activates the Trigger the numbered Button is attached to. That way if you click the right Button it triggers the Trigger and sends the notification. The Triggers the number Button are attached to are deactivated by a channel sent for when you need to guess again. This could be a redo Button, which is attached to the Trigger that chooses the number with the block code.)
You could use a button for each number, the button updates a property.
Later using a trigger you can compare that numerical property to the correct answer.
Well I do already have a trigger with RNG in it, but I basically just want to know how like attach that (in the best way I can say it) to other devices to make it to where it sends a notification that guesses the number
use a checker that checks the property value
All the Triggers the buttons are attached to are deactivated. The number the block code lands on sends a signal to the channel that activates that numbered Trigger. Then, if the player pressed the button that triggers that Trigger, they get the notification. If they didn’t press the Button to that Trigger, the Button deactivates all other numbered Triggers (which they would do by default so 2 can’t be correct) and trigger the Trigger with the random select block code.
The point is the player clicks a button and the RNG trys to guess what number you picked, not if YOU picked the right number
Use an if else/if statement.
Say that there are numbers from 1-10. There’s a button for each, and all of those buttons tell a system to pick a number from 1-10. If it picked the number you gave it, it wins. If it doesn’t, YOU win!
Contains a randomizer, buttons, and 2 properties. Connect this to external systems if you want!
Does it not lead to the same result?
The only difference (I think) is that it require 5+ Buttons and Triggers instead of a bunch of checkers.
How many numbers are you using, btw? Is it 1-3 or 1-9?
I’ll add a picture of the system I mean later.
I am using numbers one to 1-5 (but I will increase it eventually but this is what I am currently doing)
The difference is that with you picking a number that the system picked, if you guess wrong you lose. The system tries to pick your number, and if it doesn’t you win.
Basically swapping roles.
Change the symbols to this:
if Random Number = 1
do Broadcast Message On Channel "1"
else if Random Number = 2
do Broadcast Message On Channel "2"
else if Random Number = 3
do Broadcast Message On Channel "3"
else if Random Number = 4
do Broadcast Message On Channel "4"
else Broadcast Message On Channel "5"
What you did with the math symbols makes it so if it lands on 1, it might send a message on channels 1 and 2, and there are probably some other errors that I’m not seeing.
Edit: Yeah, I tested your code from the image above and it pretty consistently landed on 1 and 4 (mostly on 4, though).
Block Code:
Trigger:
Same Trigger:
Notification settings:
Full thing (ignore the player spawner):
The block code is in the activated Trigger. Each deactivated Trigger activates when the randomizer chooses their channel, but deactivate when any other channel is chosen. Make sure to make the triggers invisible.
Just to be clear the buttons trigger the triggers correct?
Also are the trigger settings on the activated trigger or on a different trigger?
guide on randomizer, random number, press a button saying you guessed correctly to let the ai know.





