It seems it's missing?
I can use preferences.afm_after_click without problems but is it not supposed to be in config variables?
config.default_afm_after_click
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.
-
- Regular
- Posts: 67
- Joined: Mon Dec 16, 2013 1:00 pm
- Contact:
- PyTom
- Ren'Py Creator
- Posts: 16096
- 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: config.default_afm_after_click
Nowadays, you can do
so there's no needs for new config.default_ variables for preferences.
Code: Select all
default preferences.afm_after_click = True
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Regular
- Posts: 67
- Joined: Mon Dec 16, 2013 1:00 pm
- Contact:
Re: config.default_afm_after_click
Thanks, PyTom!
I wasn't sure which one I should use!
One more question regarding preferences.voice_sustain.
When I load the game after deleting persistent data, this works as expected. It makes voice sustain on.
But if I change this to
It stays off when I load the game after deleting persistent data. After I reload the game then it's set properly.
The other preferences variables seem to work fine.
I wasn't sure which one I should use!
One more question regarding preferences.voice_sustain.
Code: Select all
default preferences.voice_sustain = True
But if I change this to
Code: Select all
init python:
preferences.voice_sustain = True
The other preferences variables seem to work fine.
-
- Regular
- Posts: 67
- Joined: Mon Dec 16, 2013 1:00 pm
- Contact:
Re: config.default_afm_after_click
I thought both 'default' and 'init python:' work in a similar manner but... probably they don't. I need to use 'default' specifically for it.
Who is online
Users browsing this forum: 3N16M4, Google [Bot]