Search found 2 matches

by leequanhu
Fri Nov 09, 2018 7:51 am
Forum: Ren'Py Questions and Announcements
Topic: random chapter selection
Replies: 4
Views: 206

Re: random chapter selection

still not working, report: exception ui.interact called with non -empty widget /layer stacks. screen if_test(): $ randchar = renpy.random.choice([1,2]) if (randchar==1) : text _("result = 1") $ renpy.jump( "add1" ) else: text _("result ≥ 1") $ renpy.jump( "add2" ) call screen if_test() label add1: e...
by leequanhu
Fri Nov 09, 2018 3:46 am
Forum: Ren'Py Questions and Announcements
Topic: random chapter selection
Replies: 4
Views: 206

random chapter selection

Hi,guys: I want make a random chapter selection function for my game.After my test,random selection and text is ok,but when i add jump function,it fails. jump function is ok in any other functions,can anybody tell me how to fix this. screen if_test(): $ randchar = renpy.random.choice([1,2,3]) if (ra...