Hello!
The common route I'm making for a game will have a scene that acts as though the character is becoming drowsy and losing touch with reality, so the text will have a CPS of slower than the default CPS. I will apply a disable skip feature on that scene only, so I'll be using this reference: LSF Link
However, I don't want it to become unskippable forever! That will be a drag since the game may have more endings , and I don't want to have players to go through this montage all the time.
How do I activate this non-skip function for the first playthrough, but then disable it for when the player finishes 1 end and moves to replay from the start?
[SOLVED] Disable skip for first playthrough, remove restriction in next playthrough
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.
[SOLVED] Disable skip for first playthrough, remove restriction in next playthrough
Last edited by nerupuff on Sat Dec 29, 2018 12:01 pm, edited 1 time in total.
- mitoky
- Veteran
- Posts: 316
- Joined: Sat Feb 07, 2015 9:12 pm
- Projects: The Purring Demon's Love, circus eterie
- Contact:
Re: [HELP] Disable skip for first playthrough, remove restriction in next playthrough
Just make another flag and check for it.
and then before the scene:
and after the scene:
Once you cross the point in-game where the skipping should work normally afterwards, just turn the variable True and the skipping stopping will be inored from then on:
Code: Select all
default persistent.skipthis = False
Code: Select all
if not persistent.skipthis:
$ _skipping = False
Code: Select all
if not persistent.skipthis:
$ _skipping = True
Code: Select all
$ persistent.skipthis = True
Re: [HELP] Disable skip for first playthrough, remove restriction in next playthrough
Thank you for the fast response, mitoky! I appreciate it. I'll be trying this out and I'll mark this solved once I manage to get it to work. ^^
Who is online
Users browsing this forum: Ahrefs [Bot], juliaa__