Search found 4 matches

by Korrin
Mon Feb 20, 2012 8:50 pm
Forum: Ren'Py Questions and Announcements
Topic: Anyway to prevent a random variable from generating twice?
Replies: 6
Views: 1693

Re: Anyway to prevent a random variable from generating twic

Thanks so much Sciencewarrior!

Yeah, I was definitely trying to use it wrong. This helps so much. Thanks!
by Korrin
Mon Feb 20, 2012 2:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Anyway to prevent a random variable from generating twice?
Replies: 6
Views: 1693

Re: Anyway to prevent a random variable from generating twic

Thanks, but I'm still really new to renpy and python.

Could I trouble you to do a full example?

I played around with this for a while and couldn't figure out how to get it to work.
by Korrin
Mon Feb 20, 2012 4:13 am
Forum: Ren'Py Questions and Announcements
Topic: Anyway to prevent a random variable from generating twice?
Replies: 6
Views: 1693

Anyway to prevent a random variable from generating twice?

I'm using renpy.random.randInt to generate a random event that the player can encounter during the day, however it doesn't look very good for the same event to occur twice in a row. I can think of some fairly convoluted ways of preventing it from happening twice in a row, but is there an easy, simpl...
by Korrin
Fri Feb 17, 2012 4:01 pm
Forum: Ren'Py Questions and Announcements
Topic: Skip function tends to stall
Replies: 2
Views: 526

Re: Skip function tends to stall

Yeah, that's how the skip function works, and if you edit you script (so much as adding a missing piece of punctuation) Renpy reads this as new text and will stop on it while skipping, even if you've already played through that portion.