Hmm, how do I say this...
Basically, I want to make an ending unlockable only by attaining all the other endings first.
I have no idea how to do this. Persistents confuse me.
Help for a noob, please?
Making attaining True End dependent on False End count?
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.
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.
- netravelr
- Miko-Class Veteran
- Posts: 504
- Joined: Thu Jan 28, 2010 2:31 am
- Completed: Culina: Hands in the Kitchen, Culina: The Spirit of Cooking, Saving Zoey
- Projects: Love at the Laundromat
- Organization: Lakeview Interactive
- Deviantart: netravelr
- Location: USA
- Contact:
Re: Making attaining True End dependent on False End count?
Sure.
Say you have a variable for getting to each ending in your persistant data. http://www.renpy.org/wiki/renpy/doc/ref ... stent_Data
and whenever you complete a path you would do something like:
Now, when you want to have the True End come up, you could do something like:
Does this help at all?
Say you have a variable for getting to each ending in your persistant data. http://www.renpy.org/wiki/renpy/doc/ref ... stent_Data
and whenever you complete a path you would do something like:
Code: Select all
persistent.ending1 = True
Code: Select all
if(persistent.ending1 and persistent.ending2):
"Whoo! True end!"
Technical Designer/Programmer
Game Design Portfolio - Project updates on my Twitter
Experienced in: C/C++/C#, Python, Unreal, Unity, and Flash
_________________
"Space can be very lonely. The greatest adventure is having someone share it with you."
Re: Making attaining True End dependent on False End count?
Yes, sir; yes it does. That's exactly what I'm looking for. Thread bookmark'd, and thank you!
Who is online
Users browsing this forum: Google [Bot]