Search found 55 matches

by Georgine
Thu Apr 03, 2014 4:15 pm
Forum: Ren'Py Questions and Announcements
Topic: Esc causing Ren'py to crash
Replies: 6
Views: 1178

Re: Esc causing Ren'py to crash

Got it, I'll zip it up and mail it later today... another tidbit: I got the error yesterday, but when I just loaded it up today (having changed nothing, and having left the cache intact) the error wasn't presenting until I ran/save/load/restarted a few times.
by Georgine
Tue Apr 01, 2014 11:53 pm
Forum: Ren'Py Questions and Announcements
Topic: Esc causing Ren'py to crash
Replies: 6
Views: 1178

Re: Esc causing Ren'py to crash

Sure thing, where should I send it?
by Georgine
Tue Apr 01, 2014 11:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Esc causing Ren'py to crash
Replies: 6
Views: 1178

Re: Esc causing Ren'py to crash

I just got it again, but I don't see a _reload-LT-1.save: I have auto-1-LT1 through auto-10-LT1, 1-LT1.save, and persistent.
by Georgine
Sun Mar 30, 2014 10:24 pm
Forum: Ren'Py Questions and Announcements
Topic: Esc causing Ren'py to crash
Replies: 6
Views: 1178

Esc causing Ren'py to crash

Recently, every time I run my game, whenever I hit 'esc' to bring up the menu, it crashes. I fixed it by deleting my cache, but in case it's useful to the developers, I got the following error and traceback: I'm sorry, but an uncaught exception occurred. While running game code: File "renpy/com...
by Georgine
Thu Mar 27, 2014 11:20 am
Forum: Ren'Py Questions and Announcements
Topic: Using a variable as a list index in Text?
Replies: 8
Views: 1553

Re: Using a variable as a list index in Text?

That fixes everything, and the world is a glorious place again- thank you so much for your time. :)
by Georgine
Thu Mar 27, 2014 10:59 am
Forum: Ren'Py Questions and Announcements
Topic: Using a variable as a list index in Text?
Replies: 8
Views: 1553

Re: Using a variable as a list index in Text?

That works perfectly for text, is there a way to make the same syntax work with an int, e.g. $ Character_Height = [182, 160, 176] screen Character_roster: frame: has vbox text "Your name is " + Names[Name_index] text "You are" + Character_Height[Names_index] + "cm tall"...
by Georgine
Thu Mar 27, 2014 9:48 am
Forum: Ren'Py Questions and Announcements
Topic: Using a variable as a list index in Text?
Replies: 8
Views: 1553

Re: Using a variable as a list index in Text?

Ooh that makes sense... can $narrator() be executed in a screen statement, despite not being a simple expression? I'm thinking something like screen Character_roster: frame: has vbox $narrator("Your name is %s" % Names[Name_index]) Which produces "Exception: ui.interact called with no...
by Georgine
Thu Mar 27, 2014 9:30 am
Forum: Ren'Py Questions and Announcements
Topic: Using a variable as a list index in Text?
Replies: 8
Views: 1553

Re: Using a variable as a list index in Text?

Thank you for clarifying. :)
by Georgine
Thu Mar 27, 2014 9:19 am
Forum: Ren'Py Questions and Announcements
Topic: Using a variable as a list index in Text?
Replies: 8
Views: 1553

Using a variable as a list index in Text?

Given the following block: init python: Names = ["Bob", "Frank", "Jim"] Name_index = 1 I want to be able to interpolate Names[Name_index] into a string of text, such that I could print "Your name is Frank" by executing "Your name is [Names[Name_Index]]&qu...
by Georgine
Wed Mar 26, 2014 12:13 am
Forum: Ren'Py Questions and Announcements
Topic: RevertableList is not callable error in for loop
Replies: 2
Views: 887

RevertableList is not callable error in for loop

I'm trying to get a basic proof-of-concept working for a function that will check one list for a value, and based on that value alter the same index in a second list. Given the following: init python: YankeesFan = ["Yes", "No", "Yes"] Names = ["Bob", "Fra...
by Georgine
Tue Mar 18, 2014 6:37 am
Forum: Ren'Py Questions and Announcements
Topic: Change imagebutton images in-game
Replies: 24
Views: 4706

Re: Change imagebutton images in-game

...so now I'm metaphorically smacking my head against an allegorical desk because holy cow, I can't believe I didn't notice that. In other news I don't think I can bug you anymore, as absolutely everything is working... thank you so much for your patience and help! It's likely that without advice, I...
by Georgine
Tue Mar 18, 2014 6:24 am
Forum: Ren'Py Questions and Announcements
Topic: Change imagebutton images in-game
Replies: 24
Views: 4706

Re: Change imagebutton images in-game

Just did a find in my codebase to be sure, but Icon_number is only given a value twice: it's initialized to 1, and for each imagebutton on the main menu I have SetVariable("Icon_number", "1") , with the number varying from 1-3 depending on which button it is. I just re-ran the pr...
by Georgine
Tue Mar 18, 2014 5:28 am
Forum: Ren'Py Questions and Announcements
Topic: Change imagebutton images in-game
Replies: 24
Views: 4706

Re: Change imagebutton images in-game

Actually I misspoke a bit- we don't want Icon_number to be the value of List_main_interface, we it to be the index we set to the value of List_selection_interface[Selected_icon]
by Georgine
Tue Mar 18, 2014 5:25 am
Forum: Ren'Py Questions and Announcements
Topic: Change imagebutton images in-game
Replies: 24
Views: 4706

Re: Change imagebutton images in-game

Edited it to match your example exactly, but the same error repeats. I checked http://www.renpy.org/doc/html/screen_actions.html and it says that the syntax for setdict is SetDict(dict, key, value). In this code, the key is Icon_number, which is what we want the value to be... is it possible that it...