Events
Dialog - Any Dialog Item is used by Player Any Player with event type Clicked
Local Variables
Conditions
(Used dialog item) == Start Button
Actions
Variable - Set Voted for Start[(Triggering player)] = True
General - If (Conditions) then do (Actions) else do (Actions)
If
(Number of players in (Active Players)) == 1
And
Conditions
Voted for Start[1] == True
Then
Trigger - Run FUNCT Start the game (Check Conditions, Don't Wait until it finishes)
EDIT: apparently the problem lies with "(Number of players in (Active Players)) == 1"
Just ran a test, where it told me the number of players in Active Players (2) and All Players (16) when I was testing it. I guess that means it counts computer-controlled players as Active. So then can I just make that trigger if number of players in active players is 1 more than the ones actually there, itll work?
Events
Dialog - Any Dialog Item is used by Player Any Player with event type Clicked
Local Variables
Conditions
(Used dialog item) == Start Button
Actions
Variable - Set Voted for Start[(Triggering player)] = True
General - If (Conditions) then do (Actions) else do (Actions)
If
(Number of players in (Active Players)) == 1
And
Conditions
Voted for Start[1] == True
Then
Trigger - Run FUNCT Start the game (Check Conditions, Don't Wait until it finishes)
EDIT: apparently the problem lies with "(Number of players in (Active Players)) == 1"
@ctccromer: Go
use loops to loop through the players in said group and use debug messages
Just ran a test, where it told me the number of players in Active Players (2) and All Players (16) when I was testing it. I guess that means it counts computer-controlled players as Active. So then can I just make that trigger if number of players in active players is 1 more than the ones actually there, itll work?
The're a way of testing the controller of a player.