2 team character seer

i tried doing it but my code isn’t working , basically when a button is pressed it sends a signal to a trigger which does the code below, but when I have 2 people in the game it starts when only 1 presses a button.

(selectors increases by 1 whenever a character is selected)

what is default value for “selectors”

Are both properties number properties?

also you need to make sure that the live player counter varible which i assume is “players” is working

0

1 Like

yes

it is

1 Like

hmm, lemme think…
there isnt anything wrong with code though…
can u send ss of setup?

hm, this is a bit tricky…lemme see the buttons and the wiring

lifecycle (game start) to trigger repeater (set to .5)
licecyle to trigger relay (broadcasts player)
repeater set to trigger replay
repeater set to increment counter

srry repeater is set to reset counter

counter increments when it recieves player

? every player?

?

and why do you reset counter?

yes and i meant relay, and its what the guide says

1 Like

ok, so you have a live player counter. then everytime u click button, it increment the “people who chose roles” varieble by 1 right?
then u compare them. if they are the same, then BOOM
STRT GAME

yes but it always happens when only 1 person selects. I’m gonna try to see if its set to 1 at the start real quick

yep. its set to one at the start for some reason

I checked the property for selectors, its intended to start at 0

1 Like