Say screen inside a screen
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.
Say screen inside a screen
Is there anyway I could call a say screen from inside another screen?
Re: Say screen inside a screen
You can call a label where a character will say something.
What exactly you trying to achieve?
What exactly you trying to achieve?
Re: Say screen inside a screen
Do you know how to call it?
I just want for a button I have inside a screen to trigger a simple dialogue.
I just want for a button I have inside a screen to trigger a simple dialogue.
Re: Say screen inside a screen
Well, if you need a simple button player should click to see dialogue, you could make it like
https://www.renpy.org/doc/html/screens.html
https://www.renpy.org/doc/html/screen_actions.html
Code: Select all
screen button_scr():
# we'll call this screen, so button should Return something
textbutton "Click to talk" action Return() align(0.5, 0.2)
# The game starts here.
label start:
"..."
label some_location:
scene black
show char at left
"blah-blah-blah"
# let's call a screen to force player interact with it
call screen button_scr
"char" "talk-talk-talk"
"?!"https://www.renpy.org/doc/html/screen_actions.html
Re: Say screen inside a screen
Thank you so much!
Who is online
Users browsing this forum: No registered users