byond - Modules - TypesVar Details - Proc Details

vote

Vars

choicesAvailable choices in the vote
choices_by_ckeyWhat choices each player took, if any
forced_popupPop up this vote screen on everyone's screen?
initiatorWho started the vote
modeOn what subject the vote is about
multiple_voteIs multiple vote allowed for that mode
questionThe question that will be asked
shipmap_timer_idThe timer id of the shipmap vote
shuffle_cacheShuffle vote choices per ckey cache
shuffle_choicesShuffle vote choices separately for each client? (topvoting NPC mitigation)
started_timeWhen the vote was started
time_remainingHow long till the vote is resolved
vote_happeningIf a vote is currently taking place
votedWho already voted
votingWho can vote

Procs

announce_resultAnnounce the votes tally to everyone
automatic_voteStarts the automatic map vote at the end of each round
get_resultTally the results and give the winner
initiate_voteStart the vote, and prepare the choices to send to everyone
resetStop the current vote and reset everything
resultApply the result of the vote if it's possible
submit_voteRegister the vote of one player

Var Details

choices

Available choices in the vote

choices_by_ckey

What choices each player took, if any

forced_popup

Pop up this vote screen on everyone's screen?

initiator

Who started the vote

mode

On what subject the vote is about

multiple_vote

Is multiple vote allowed for that mode

question

The question that will be asked

shipmap_timer_id

The timer id of the shipmap vote

shuffle_cache

Shuffle vote choices per ckey cache

shuffle_choices

Shuffle vote choices separately for each client? (topvoting NPC mitigation)

started_time

When the vote was started

time_remaining

How long till the vote is resolved

vote_happening

If a vote is currently taking place

voted

Who already voted

voting

Who can vote

Proc Details

announce_result

Announce the votes tally to everyone

automatic_vote

Starts the automatic map vote at the end of each round

get_result

Tally the results and give the winner

initiate_vote

Start the vote, and prepare the choices to send to everyone

reset

Stop the current vote and reset everything

result

Apply the result of the vote if it's possible

submit_vote

Register the vote of one player