How do you make a poll in game?

I was thinking there would be a place where people go to vote instead of a button so that won’t be an issue

1 Like

Yeah that’s a good idea. Maybe like a specific place where you could vote a certain way.

1 Like

You could connect the button to run some blockcode in a notification (leave the notification blank for now, we’ll change the text in blockcode)
Button Pressed > Run Wire Pulse Block

Blockcode:

Set Text | Create Text with “Triggering Player’s name
has chosen the “OptionName” option
2 Likes

Oh thats a great idea! thanks for the info!

1 Like

Should I make a guide for this because it might be helpful for people and it would be my first guide?

1 Like

You could replace the button with a popup because imo its cleaner

2 Likes

Some players might want anonymity though. Maybe there could be an option for that.

1 Like

What do you mean by that?
The robot?

1 Like

Sure. It’s your choice :slight_smile:
Nobody has made a guide on it yet.

2 Likes

It is a good idea but I wouldn’t know how to do it and they could also not vote?

1 Like

Ok i will make it when I have added it to my game :slight_smile:

Here is how the main system should work:
Step 1: Place a zone.
This will be your voting area.
Feel free to add some props or other decorations.

Step 2: Place a popup.
This will be where your players can vote.
Configure the popup to have one option and another option that says “next option.”
This allows you to create a large amount of options.

Wire the Zone to a Popup
Player Enters Zone > Open Popup

Step 3: Now we’ll be deciding the actions triggered once a player chooses the first option or the second option.
Let’s do the first one.

Step 4: Wire the popup to a notification to run some blockcode.
Refer to this older post:

Step 5: After you have done that, let’s do the second option.
Place another popup.
Configure it like the previous one (1 option, and an option called “next”)

Now repeat the first 4 steps depending on how many options you want.

1 Like

Did it work?

Wow, that question-answer-learn technique looks pretty useful! I’ll use it next time. Thanks, NavyCatZ!

1 Like

I made a different system where it is an area and it shows who pressed it and I am currently testing it so idk if it works. (edit: it works)

You’d have to use 2+ tabs to test it works

1 Like

I did and it worked!

2 Likes

Nice job! Since it was your own system, I guess you have to make your own reply as a solution for this post.

1 Like

I didn’t know you could do that and should I like explain how I did it then mark a solution or just mark a random one?

1 Like

You should probably mark this reply:

2 Likes

okay will do it right now, thanks for ur help!