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.
-
Iylae
- Regular
- Posts: 73
- Joined: Sat Jan 09, 2016 6:57 am
- Location: Cornwall, UK
-
Contact:
#1
Post
by Iylae » Sat Jan 16, 2016 4:10 pm
So I noticed that the following will display a message in the chatbox when you show a menu:
Code: Select all
menu:
"This is shown in the chatbox"
"Menu choice 1":
jump result1
"Menu choice 2":
jump result2
However, I am building dynamic menus using renpy.display_menu(), but I can't find any documentation on a python equivalent of showing a message in the chatbox at the same time as the menu.
Is there a python equivalent that will let me do this, or is there a way of using renpy.display_menu() without hiding the chat box with what was displayed previously?
If it's a complicated solution, I just need a point towards the right functions, not the answer on a plate.
Thanks.
Last edited by
Iylae on Sat Jan 16, 2016 9:48 pm, edited 1 time in total.
-
Iylae
- Regular
- Posts: 73
- Joined: Sat Jan 09, 2016 6:57 am
- Location: Cornwall, UK
-
Contact:
#3
Post
by Iylae » Sat Jan 16, 2016 9:47 pm
Should've been display_menu(). My fault, I had written my own function that uses display_menu() and named it show_menu(). Gotten so used to using it now.
Your solution with renpy.say(interact=False) works a charm. That's all I needed, thanks!
Users browsing this forum: Bing [Bot], Google [Bot]