Search found 4 matches

by Rekoija
Fri Nov 22, 2019 5:35 am
Forum: Ren'Py Questions and Announcements
Topic: Voting for someone based on a percentage?
Replies: 7
Views: 354

Re: Voting for someone based on a percentage?

wow, thank you so much! edit: (for anyone else that may need this): that count thing confused me a bit, so i kinda broke the code until i figured out i actually needed it to be there (when it's not there i guess it just always goes to a? anyway i set the count to +=5 instead of removing it, and ever...
by Rekoija
Thu Nov 21, 2019 3:59 pm
Forum: Ren'Py Questions and Announcements
Topic: Voting for someone based on a percentage?
Replies: 7
Views: 354

Re: Voting for someone based on a percentage?

def voting(): if votes == []: votes = ['a','b','c'] #to prevent an error if the list is empty. renpy.jump('won'+renpy.random.choice(votes)) this part causes this error: file "game/scriptvote.rpy", line 7: Tab characters are not allowed in Ren'Py scripts. line seven being "if votes == []:" edit: also...
by Rekoija
Wed Nov 20, 2019 9:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Voting for someone based on a percentage?
Replies: 7
Views: 354

Re: Voting for someone based on a percentage?

Hey, I really appreciate this, and although it doesn't work at all, now I know what other information i should probably give to actually find the solution to my problem (my bad, really though, thank you for even trying at all :D) okay so, you've set up all this stuff that shows us how many points pe...
by Rekoija
Wed Nov 20, 2019 3:34 pm
Forum: Ren'Py Questions and Announcements
Topic: Voting for someone based on a percentage?
Replies: 7
Views: 354

Voting for someone based on a percentage?

okay so, i have 4 characters that can be voted for let’s just call them A, B, C and D the player must convince other people to vote for someone specific. $ votea = 0 $ voteb = 0 $ votec = 0 $ voted = 0 player “You should vote for B” $ voteb += 1 throughout the whole thing different characters will g...