I've been testing my game for a while, and I found out that you can apparently use "Back" after you make a choice, and that basically breaks the whole game.
For example, if you've got a menu with 2 affection events. You're supposed to just select 1, and I've got some code to check it (basically this: viewtopic.php?p=523263#p523263), but if you go back all the way to the menu after you get the "+ Affection" you can actually select both.
Is there any known way to prevent this?
"Back" function and menu choices
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.
Re: "Back" function and menu choices
define config.fix_rollback_without_choice = True
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.
10 ? "RENPY"
20 GOTO 10
RUN
10 ? "RENPY"
20 GOTO 10
RUN
Re: "Back" function and menu choices
That didn't work at all for me, it just removed the selected attribute from the menus.
But on the plus side I used that bit to discover all the related functions and I managed to solve it anyway, so thanks!
But on the plus side I used that bit to discover all the related functions and I managed to solve it anyway, so thanks!
Who is online
Users browsing this forum: Ahrefs [Bot]