Help with a four way voting system

Hello gimkitters [1] so im planning an update on PW:CP, and im needing help with a voting system… a four way voting system to be exact

Now what im trying to do is simple… make three more game mode so its not just the same thing over and over, [2] yet ive tried the guide I said was the ony voting one with pictures… i tired the system… it didnt work out

Now my last hope is asking for help, since its the best ive got to do now [3]

So if you did help… thanks
-Ian_is_a_yay


  1. or forumers ↩︎

  2. blah blah blah, dont you dare say im making it into a DOD based game ↩︎

  3. before you go say “IaN Go chECk GuIDes” or “IAn gO CHecK tHe HeLp TOpiCs” i did… still didnt get much help" ↩︎

4 Likes

Uhm… no, im asking for help with making a voting system for a gkc game of mine

7 Likes

No?

3 Likes

what’s a four way voting system?

1 Like

So know those among-us voting systems
Its like that, but for stuff like agreeing on a made mode/action

In other words… those roblox games where it makes the players to choose what to do as a team, but they need to agree

Yeah… like dat

me no he, me they

3 Likes

I believe they’re trying to make a system where there are 4 different options to vote for, like this:

  • Option 1
  • Option 2
  • Option 3
  • Option 4
0 voters
hey.

That’s MY pfp.

Mb gang.

4 Likes

alright, would you need a chat system for that?

1 Like

Correct me if I’m wrong, I’m a bit bad with technical stuff.

I think you’d h00k up 4 buttons to different counters, and use the buttons to increment them. The buttons would disable on a player scope after you vote.

The only thing I can’t figure out is how to make the map be chosen on a base of which counter has a larger number. Lemme check some guides out rq.

(some_kid can probably help out with that code, they’re good with stuff like that)


Wait, seriously? We need those. They make everything 100% better and more efficient, and we don’t even have a block for that?? To the Nolt I go–

6 Likes

ok @Ian_is_a_yay just checking

1 Like

You got it.
The code for selecting the greatest vote might be tricky, 'cause we don’t get loops. I’ll see if I can figure it out.

4 Likes

Something like this. It would run when the vote ends.

Each counter should update their respective property.
Note that you have to use this exact naming scheme in order for this particular iteration of the block to work.
I haven’t tested it, but it should broadcast on setUpGamemodeX, X being the number of the option with the most votes.

This was honestly easier than I thought it would be :sweat_smile:

Property names being accessible via strings is so fun. It’s a nice break from real coding languages.

7 Likes

make a trigger loop
when trigger broadcasts on “loop” it transmits on “loop”
it gets either 15k iterations per second or 300 ( I forgot)

Blackjack

@Blackjack favorite The Caretaker song, and what do you think the song means? (if you’ve never heard of their music, you should listen to some before answering this)

1 Like

It DOES?
Seriously though, I’m well aware. It’s just making blocks around this can be tricky, especially when you want something like a for loop.

2 Likes

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.