[SOLVED] Stopping skip at certain points of the game?

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.
Post Reply
Message
Author
User avatar
Kinmoku
Miko-Class Veteran
Posts: 560
Joined: Mon Aug 11, 2014 9:39 am
Completed: One Night Stand
Projects: Love IRL, Memories
Tumblr: gamesbykinmoku
itch: kinmoku
Location: Germany
Contact:

[SOLVED] Stopping skip at certain points of the game?

#1 Post by Kinmoku » Tue Oct 18, 2016 12:22 pm

Hi all,

I'm wondering if it's possible to stop skip/ fast-forward, regardless of settings, at certain points of the game?

I have a bug which appears on a screen if it's skipped/ fast-forwarded into. An easy fix seems to be stopping skip/ fast-forward at that point, as it doesn't make much sense why it's bugging out :(
Last edited by Kinmoku on Wed Oct 19, 2016 4:26 am, edited 1 time in total.

User avatar
Ocelot
Eileen-Class Veteran
Posts: 1883
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: Stopping skip/ fast-forward at certain points of the gam

#2 Post by Ocelot » Tue Oct 18, 2016 1:08 pm

You can try choice_for_skipping function.

You will need to set Skip After Choices preference to false as indicated in article. And do not let player change it.
< < insert Rick Cook quote here > >

User avatar
IrinaLazareva
Veteran
Posts: 399
Joined: Wed Jun 08, 2016 1:49 pm
Projects: Legacy
Organization: SunShI
Location: St.Petersburg, Russia
Contact:

Re: Stopping skip/ fast-forward at certain points of the gam

#3 Post by IrinaLazareva » Tue Oct 18, 2016 4:32 pm

Code: Select all

    $ _skipping = False

User avatar
Kinmoku
Miko-Class Veteran
Posts: 560
Joined: Mon Aug 11, 2014 9:39 am
Completed: One Night Stand
Projects: Love IRL, Memories
Tumblr: gamesbykinmoku
itch: kinmoku
Location: Germany
Contact:

Re: Stopping skip/ fast-forward at certain points of the gam

#4 Post by Kinmoku » Wed Oct 19, 2016 4:25 am

Thanks both :)
IrinaLazareva wrote:

Code: Select all

    $ _skipping = False
This works perfectly! Super simple, thanks :)

Post Reply

Who is online

Users browsing this forum: No registered users