• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] voting system?

Status
Not open for further replies.
Level 3
Joined
Dec 3, 2008
Messages
23
Can anyone point me in the direction of making a voting system in JASS?
I'd like to have a dialog pop up ,the players select choices, etc.
I'd like it to be generic, tho, and so I can have multiple users start.
Ie: All players can start a generic poll (yes/no questions) by typing
-poll This is my question?
All players can vote for a match 'start' or 'wait' by
-start
All players can vote for a kick:
-kick orange

How would I go about making this in JASS? Would I be reinventing the wheel? Is there already something lilke that?
 
Level 16
Joined
Oct 12, 2008
Messages
1,570
Well, in tutorial secion ( i thought) there is a GUI version for a votekick system, you can try to convert it and make it to more efficient JASS, (But you MUST still give credit, it is after all not your resource)
Then you can try to make the '-poll <Question>' thingy based off that one,,
 
Status
Not open for further replies.
Top