| Majority vote is done with dialog buttons.
Variables required for each button are Integer and dialog button name
Event
Dialog button clicked
Condition
Dialog button equal Easy(or what ever)
Action
Set Easy = (Easy)+1
Get it?
Then after a set time you run a find max If then Esle.. like
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Easy Greater than or Equal to (Max(Easy, Medium, Hard)
Then - Actions
Set difficulty level actions (blah blah)
Else - Actions
Do nothing
If - Conditions
Medium Greater than or Equal to (Max(Easy, Medium, Hard)
Then - Actions
Set difficulty level actions (blah blah)
Else - Actions
Do nothing
If - Conditions
Hard Greater than or Equal to (Max(Easy, Medium, Hard)
Then - Actions
Set difficulty level actions (blah blah)
Else - Actions
Do nothing
That is just how you would do a vote for difficulty, but you can apply similiar triggers to any vote, including Player types a chat message....
Questions? |