Issues with Generating Lists

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Message
Author
User avatar
hyperionthunder
Regular
Posts: 51
Joined: Fri May 18, 2018 2:10 pm
Projects: The Wanderers
Deviantart: hyperionthunder
Contact:

Re: Issues with Generating Lists

#16 Post by hyperionthunder » Mon May 21, 2018 4:59 pm

Ah I see! That did the trick. I didn't realize def is actually used for function. I guess I have to learn python 101. Anyway I caught that the .append and .remove is in the wrong places, which I basically switched them in the condition statement. Now it works like a charm.

Thank you so much for your tips.

kivik
Miko-Class Veteran
Posts: 784
Joined: Fri Jun 24, 2016 5:58 pm
Contact:

Re: Issues with Generating Lists

#17 Post by kivik » Mon May 21, 2018 5:02 pm

No problems! Definitely should read some python tutorials if you're doing more complicated things than what's out the box from Renpy :)

User avatar
hyperionthunder
Regular
Posts: 51
Joined: Fri May 18, 2018 2:10 pm
Projects: The Wanderers
Deviantart: hyperionthunder
Contact:

Re: Issues with Generating Lists

#18 Post by hyperionthunder » Wed May 23, 2018 12:16 pm

Once again, thanks!

Post Reply

Who is online

Users browsing this forum: No registered users