[Solved] Disabling the quick menu momentarily
Posted: Mon Mar 20, 2017 8:41 pm
Good day to all (^_^)/
At certain moments during game play I would like to have the quick menu disappear briefly, to simulate the feeling of a short cut scene as it were.
By default, pressing 'H' on the keyboard hides the interface. I am looking for a similar effect, though it should be triggered at some points in the script, so that when the player reaches that part of the story, the quick menu disappears, until it is triggered to come back again.
I found this post at the forum where basically the same question has been asked before:viewtopic.php?f=8&t=12229
PyTom replied:
I've tried defining "quick_menu" as a boolean which is set to either False or True at certain points during the story like so:...though this seems ineffective and is most likely completely wrong.
Could some one please explain further how to implement the method as described by PyTom?
At certain moments during game play I would like to have the quick menu disappear briefly, to simulate the feeling of a short cut scene as it were.
By default, pressing 'H' on the keyboard hides the interface. I am looking for a similar effect, though it should be triggered at some points in the script, so that when the player reaches that part of the story, the quick menu disappears, until it is triggered to come back again.
I found this post at the forum where basically the same question has been asked before:viewtopic.php?f=8&t=12229
PyTom replied:
I've added that bit of code to the say screen, but I'm not sure what to do next.The quick menu is included as part of the screen, rather than its own screen.
Generally, you don't want dialogue in your splashscreen - that's not what it's for. However, if you do want dialogue in the splashscreen, you can always change the say screen to read:
Code:
if quick_menu:
use quick_menu
Then you can update the quick_menu variable to control when the quick menu is shown.
I've tried defining "quick_menu" as a boolean which is set to either False or True at certain points during the story like so:
Code: Select all
$ quick_menu = False
Could some one please explain further how to implement the method as described by PyTom?