Search found 7 matches

by EmberSH
Wed Jan 09, 2019 6:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Skipping certain defined text on random selection [SOLVED]
Replies: 5
Views: 631

Re: Skipping certain defined text on random selection [SOLVED]

Would you be able to explain how this works to me? I'd love to understand the mechanics behind it. You can probably tell my grasp of Python is pretty basic =^.^=
by EmberSH
Mon Jan 07, 2019 3:55 pm
Forum: Ren'Py Questions and Announcements
Topic: Skipping certain defined text on random selection [SOLVED]
Replies: 5
Views: 631

Re: Skipping certain defined text on random selection

Thank you! That was it! <3 You would be a lifesaver if you could. It's for doing Tarot spreads. The engine is picking one of 78 cards for each of three locations then accessing the meaning of that card and then that card in the specific location. (For example, The Fool has two lines of text explaini...
by EmberSH
Mon Jan 07, 2019 1:44 pm
Forum: Ren'Py Questions and Announcements
Topic: Skipping certain defined text on random selection [SOLVED]
Replies: 5
Views: 631

Skipping certain defined text on random selection [SOLVED]

Ok - this is gonna be a lot of code because I don't know where the problem is. I'm using the code in the first and second box to access the defined text in the third. It's working for the named and Fire cards but not for Earth Air or Water. I can't work out what the problem is and it's driving me in...
by EmberSH
Wed Jan 02, 2019 5:07 pm
Forum: Ren'Py Questions and Announcements
Topic: Random making same selection every time [SOLVED]
Replies: 2
Views: 324

Random making same selection every time [SOLVED]

I can't work out why but this code is selecting number 5 (Joker) every time I run it, I hope someone can help. I'm hoping it will be a pretty simple fix I'm overlooking. label start: e "pick a card" $ c1 = renpy.random.randint(1, 5) if c1 == 1: define First = "Ace" elif c1 == 2: ...
by EmberSH
Sun Dec 16, 2018 2:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Point system SyntaxError [SOLVED]
Replies: 2
Views: 403

Re: Point system SyntaxError [SOLVED]

Thank you so much! It seems so obvious now in retrospect ^^;
by EmberSH
Sun Dec 16, 2018 1:32 am
Forum: Ren'Py Questions and Announcements
Topic: Point system SyntaxError [SOLVED]
Replies: 2
Views: 403

Point system SyntaxError [SOLVED]

I've been running through the threads I can find and can't find a solution. Sorry if it's really obvious. I'm getting the message: While running game code: File "game/script.rpy", line 138, in script if kLike < 35: SyntaxError: invalid syntax (game/script.rpy, line 138) -- Full Traceback -...