#I need help creating a CV2 Voting System.

7 messages · Page 1 of 1 (latest)

burnt fable
#

I need help creating a CV2 Voting System.

That’ll Prompt specific Players that are Seated, to select one of Two Choices and Tallies the Votes. It should display the final vote count, for the person who originally pressed the button’s view.

#? Yes
#? No

broken kraken
#

You would use prompt player multiple choice

#

Then an equals chip on the response and if that equals "Yes"
if true add to an int variable of yes
and vice versa for no

#

How would you want to display the final vote count

flint pebble
# burnt fable **__I need help creating a CV2 Voting System.__** That’ll Prompt specific Playe...

use a Prompt Multiple Choice
The prompt answers would be a list create of [Yes,No]

To send the prompt to the seated players you can use Seat Get Seated Player

And If you wanna count the answers make two int variables Named E.g. YesCount,NoCount

on prompt complete connect the answer into a string execution switch

The switch will have both of the answers individually and just connect the exec for Yes into the int variable and make it add one by connecting an add chip to the input and output of the variable and the second value is your adder (1)

And the same For “No”

burnt fable
#

Thank you both for your help. Your responses were greatly appreciated. @flint pebble @broken kraken

broken kraken
#

Both options work
I just shouldve went into depth in mine