Hey nice stuff just what im looking for. I just finished making a roll based loot system for an RPG style map im working on and this is just what i was looking for. using it so players can vote weither the roll was fair or if it was ninja'd so they can reroll. would you like me to give you credit in my map or do you not care? The map is called Shattered Soul: The Lost Colony, and is in early beta phase.
Edit* can you tell me how i can set a time limit on it, so people who dont vote in time have their votes forfeited.
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.
Can you share your version of that system ? Through pm or something
And its there a way to get 2 levels voting system like frrom first level you can take 3 options and from next level you can take another 3 options separate from these from 1 level, i mean like 2 votes :<
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
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>
Hey nice stuff just what im looking for. I just finished making a roll based loot system for an RPG style map im working on and this is just what i was looking for. using it so players can vote weither the roll was fair or if it was ninja'd so they can reroll. would you like me to give you credit in my map or do you not care? The map is called Shattered Soul: The Lost Colony, and is in early beta phase.
@ArcadeRenegade: Go
Awesome, very useful.
@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.
hey, nice job with this one ! Probably i will use it in my map :)
Edit: its lagging a bit , can you try optimizing it ?
@Adelios: Go
I started my vote system based of this one about 2 months ago.
Ive had to customize it alot to get it going right. Such has having a Vote Time Expiration other wise the vote hangs untill all players have voted.
@SouLCarveRR: Go
Can you share your version of that system ? Through pm or something
And its there a way to get 2 levels voting system like frrom first level you can take 3 options and from next level you can take another 3 options separate from these from 1 level, i mean like 2 votes :<