Disabling auto-skip after 'return'?

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
Gumaster
Regular
Posts: 93
Joined: Sun Sep 06, 2009 6:54 am
Contact:

Disabling auto-skip after 'return'?

#1 Post by Gumaster » Sun Jul 24, 2011 1:47 am

If 'begin skipping' (ie autoskip) is used, and then the user encounters a 'return' (either in the script (end of game/bad end) or 'exit to main' in the menu), the game returns to the main menu with auto-skip still on. Is there some way to cause it to switch off when the user returns to the main menu?

User avatar
Alex
Lemma-Class Veteran
Posts: 2491
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Disabling auto-skip after 'return'?

#2 Post by Alex » Sun Jul 24, 2011 2:01 am

Mmm, try to add the line <$ config.skipping = False> into main menu screen.

User avatar
Gumaster
Regular
Posts: 93
Joined: Sun Sep 06, 2009 6:54 am
Contact:

Re: Disabling auto-skip after 'return'?

#3 Post by Gumaster » Sun Jul 24, 2011 2:49 am

Added it in, doesn't seem to change anything.
If it's important, I'm using screens for the menus

User avatar
PyTom
Ren'Py Creator
Posts: 15469
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Disabling auto-skip after 'return'?

#4 Post by PyTom » Sun Jul 24, 2011 6:22 am

I'll take care of this at the Ren'Py level as part of the next release.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Google [Bot], Jackkel Dragon