Is it possible to put a menu after an extend, or a similar effect?
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.
Is it possible to put a menu after an extend, or a similar effect?
So, my game is heavily text-based. At a couple parts, I'd like to try to make it where the choices show up at the same time as the text, but it throws errors if I try to mix the menu: with an extend, either before or after. I know it can be done with a regular block of text, but like I said I'm trying to go for a certain effect.
Re: Is it possible to put a menu after an extend, or a similar effect?
So, what's the actual code that cause an error? Could you be more specific on how this extend should work (what text you want to extend, what player should do to make it occurs, etc.)?
Re: Is it possible to put a menu after an extend, or a similar effect?
Pretty much it would be something like this-
Code: Select all
"Some words here."
extend "Some more words here."
extend "And even more words here."
menu:
choice 1:
choice 2:
Another way I tried it is-
Code: Select all
menu:
"Some words here."
extend "Some more words here."
extend "and even more words here"
choice 1:
choice 2:
Again, my main goal is for the text to still be showing when the choices show up.
Re: Is it possible to put a menu after an extend, or a similar effect?
You can have one caption in a menu, so if you need several text extensions all of them exept last one must be out of menu. Try
https://www.renpy.org/doc/html/menus.html
Code: Select all
label start:
e "..."
menu:
extend " ... ..."
"Choice":
pass
Re: Is it possible to put a menu after an extend, or a similar effect?
That works perfectly! Thank you so much!Alex wrote: ↑Sun Mar 24, 2019 6:40 pm You can have one caption in a menu, so if you need several text extensions all of them exept last one must be out of menu. Tryhttps://www.renpy.org/doc/html/menus.htmlCode: Select all
label start: e "..." menu: extend " ... ..." "Choice": pass
Who is online
Users browsing this forum: Bing [Bot], Google [Bot]