Wow., i thought we had a tutorial on this, guess we dont, this is my method.
OK, i assume all players are in the same force and im going to show you 2 options. If your really advanced you should eb able to add more on your own.
Set up a little area, 2 beacons and each voter has a civillian there. Locations over beacons labeled 1 and 2. And another location over the whole area called "chosearea"
| Trigger |
| Players: |
| ¤ Players Force |
| Conditions: |
| ¤ Current Player brings 1 civillian to "1" |
| Actions: |
¤ Remove all civillian at "1" for current player
|
¤ Modify custom score for player 8, add 1
|
¤ Preserve Trigger
|
| ¤ Display Text: You have Chosen option 1 |
| Trigger |
| Players: |
| ¤ Players Force |
| Conditions: |
| ¤ Current Player brings 1 civillian to "2" |
| Actions: |
¤ Remove all civillian at "2" for current player
|
¤ Modify custom score for player 7, add 1
|
¤ Preserve Trigger
|
| ¤ Display Text: You have Chosen option 2 |
These two add the votes up
| Trigger |
| Players: |
| ¤ Player 8 |
| Conditions: |
¤ Players Force brings 0 civillian to "ChoseArea"
|
| ¤ Cuurent Player has highest score of custom |
| Actions: |
¤ What you want to happen here for option 1
|
| ¤ Display Text: Option 1 has been chosen |
| Trigger |
| Players: |
| ¤ Player 7 |
| Conditions: |
¤ Players Force brings 0 civillian to "ChoseArea"
|
| ¤ Cuurent Player has highest score of custom |
| Actions: |
¤ What you want to happen here for option 2
|
| ¤ Display Text: Option 2 has been chosen |
These two find the highest vote and do actions.
My map was 5 players and this worked perfectly