I've been trying to find a way to disable the right click menu, and I found this page:
http://www.renpy.org/wiki/renpy/doc/FAQ ... me_menu.3F
It says I need this line of code: $_game_menu_screen = None
However, I can't find out where to put that code. Do I put it in options.rpy, or screens.rpy? And where inside those documents?
Q: How to disable right-click menu (SOLVED)
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.
-
Omegathorion
- Newbie
- Posts: 12
- Joined: Thu Nov 15, 2012 6:35 pm
- Contact:
Q: How to disable right-click menu (SOLVED)
Last edited by Omegathorion on Wed Nov 28, 2012 5:27 pm, edited 1 time in total.
- jghibiki
- Regular
- Posts: 125
- Joined: Wed Sep 19, 2012 9:08 pm
- Projects: Dream's Dénouement, Unannounced RPG framework, Renpy-Safe Logger
- Organization: Team Anarky
- IRC Nick: jghibiki
- Location: Minnesota, US
- Contact:
Re: Q: How to disable right-click menu
Don't quote me on this but i think because of the $ it means it is a variable that has already been made (to default yo true) and by adding that where ever(in the script) you want to disable the right-click it will disable it, put it at the top, under your start label in your script to disable it for that whole game, following the same logic, change the false to true and put it some where else in the script and it should re-enable the function(if you want to allow it variably, idk why you would though)
-
Omegathorion
- Newbie
- Posts: 12
- Joined: Thu Nov 15, 2012 6:35 pm
- Contact:
Re: Q: How to disable right-click menu
It works, thank you!
- jghibiki
- Regular
- Posts: 125
- Joined: Wed Sep 19, 2012 9:08 pm
- Projects: Dream's Dénouement, Unannounced RPG framework, Renpy-Safe Logger
- Organization: Team Anarky
- IRC Nick: jghibiki
- Location: Minnesota, US
- Contact:
Re: Q: How to disable right-click menu (SOLVED)
no problem
glad I could help
Who is online
Users browsing this forum: enaielei