Does anyone know how to create a map voting system (My search = outdated)

OKay, before you say search before you post, I did. ANDDDDD I found nothing good, (All the pics were outdated and not showing) So I need a voting system I have searched and all I have is just this:


I have it so when the button is pressed for player it deactivates and increases a counter… Somebody please help me.

3 Likes

try this guide :slight_smile:

If all of them dont work, get 2 buttons called option 1, and option 2. Than get two counters hidden and set to global. Than two barriers over the buttons to disable them after you vote. The button 1 interaction is to player, wire the button to a counter, when button 1 is pressed: Increment counter 1 by 1, and When button 1 is pressed: Activate Barrier 1. When Button 1 is pressed: Activate Barrier B. And do the same for button 2, but wire it to the 2nd counter and 2nd barrier, counter 2 and barrier 2.

6 Likes

Half of them are outdated and the other half is private/isnt existing.

1 Like

Thx I’ll try that. (20 characters)
Okay @SuffyPro97 I have that so far The problem is I don’t know how to see which one is greater than the other.
Soooo, I have it there is a counter that counts down to 0 and I still need that way of finding which team is greater than to teleport to.

4 Likes

I helped someone with a problem exactly like this before.

5 Likes

How would I set up the trigger and the buttons here is what I have so far…
Thx a lot too!


So I have it so when you press a button it deactivates that button and the other one, with a counter counting down to 0.

4 Likes

I am assuming I wire the buttons to the trigger? or the counter to the trigger?

2 Likes

If you want to use block code, it’s a lot easier, you can use if (get_property(CounterA) > get_property(CounterB)) inside the trigger

5 Likes

But what do I wire? The buttons you press to the trigger? Or the counters that increment when buttion is pressed to the trigger?

3 Likes

Wire the buttons to the counter and have the final timer (countdown) trigger the block code, not the buttons themselves
edit: sure, solution the person that most helped

4 Likes

Thx!, UGHHH with I could select multiple solutions, is it ok if I solution some-kid?

3 Likes

It’s not working… (20 & more)

2 Likes

What is the problem?

4 Likes

it’s not teleporting me…


I got the code right and I wired the buttons to the middle counter which is wired to the trigger which is wired to 2 teleports (random)
so what is wrong?

3 Likes

Did you use the correct channels? Recheck and test again.

4 Likes

3 Likes

Did you wire the butons to a single central counter, which means it only counted total votes, not which team had more.
It is hard to see which wire goes with what in that picture.

4 Likes

no, should the buttons increment or decrement the counter? (center counter) Although the center counter is counting down, already soooo…

2 Likes

increment

3 Likes

I think the problem is the teleporters everything is right, but how do I wire the trigger to the teleporters?

2 Likes