Make a timer variable and have it start when voting commences. Make a timer window for it if you want.
Make a new trigger that runs when the timer expires. Put the "all players ready" condition function that I made as a condition and set it to false.
For the actions, make a "Pick Each Player In 'Voting Players'" action with a "If - then - else" action under it.
In the condition for the "If - then - else" action put my "Player Ready" variable, index [picked player], and set to = "false".
Copy from the vote trigger the vote action that you want the player to vote for when the timer's done and paste them under the "Then" actions.
After the pick each player action (make sure this is not in the loop), put a "Run Trigger 'Ready Check'" action.
This way, when the timer runs, it will check if there's any players that haven't voted yet. If there is any, then it will automatically vote for them.
@MangledMind: Go
Make a timer variable and have it start when voting commences. Make a timer window for it if you want.
Make a new trigger that runs when the timer expires. Put the "all players ready" condition function that I made as a condition and set it to false.
For the actions, make a "Pick Each Player In 'Voting Players'" action with a "If - then - else" action under it.
In the condition for the "If - then - else" action put my "Player Ready" variable, index [picked player], and set to = "false".
Copy from the vote trigger the vote action that you want the player to vote for when the timer's done and paste them under the "Then" actions.
After the pick each player action (make sure this is not in the loop), put a "Run Trigger 'Ready Check'" action.
This way, when the timer runs, it will check if there's any players that haven't voted yet. If there is any, then it will automatically vote for them.
I'll try and put this into the example map.
I've made a voting system that you can use in your maps.
It supports up to 6 different vote types and you can customize the actions depending on the winning vote.
You can also make voting only occur for a specific player group.
http://www.sc2mapster.com/assets/player-voting-system/
<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/uDMYMDPYD3U&amp;hl=en_US&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/uDMYMDPYD3U&amp;hl=en_US&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>