10 players all get a dialog menu at the start of the map, for choices like difficulty and hero. 3 difficulty choices, easy, medium, hard. There are 3 checkboxes affiliated with the choices and setup in the global variables. So from here... How can I make the tally marks of each selected checkbox and add them all up and compare how many checks are marked per difficulty...
Possible to add multiple integers together to get 1 number?
Basically I want difficulties like a lot of maps out there, but I'm uncertain of the easiest route to compare variables and which difficulties are checked.
How this is done is usually by multiple tiggers. First on initialization set a variable to the total number of players in the game. Then another trigger with the event of button clicked/checked set or rather modify another variable ( or array with each option), hide the button, then check and modify the count of players left to vote. If it returns 0 run the game level. I would just use a nested if then to compare which array variable is largest.
So basically the example is this:
10 players all get a dialog menu at the start of the map, for choices like difficulty and hero. 3 difficulty choices, easy, medium, hard. There are 3 checkboxes affiliated with the choices and setup in the global variables. So from here... How can I make the tally marks of each selected checkbox and add them all up and compare how many checks are marked per difficulty...
Possible to add multiple integers together to get 1 number?
Basically I want difficulties like a lot of maps out there, but I'm uncertain of the easiest route to compare variables and which difficulties are checked.
Any help is appreciated, thanks
How this is done is usually by multiple tiggers. First on initialization set a variable to the total number of players in the game. Then another trigger with the event of button clicked/checked set or rather modify another variable ( or array with each option), hide the button, then check and modify the count of players left to vote. If it returns 0 run the game level. I would just use a nested if then to compare which array variable is largest.
@hobbidude: Go
Ok thanks a lot man, that's what I was thinking. I was just hoping there was some magical limited trigger editing way to do it. Much appreciated!!