I found an open source email messaging system on this site and have been experimenting with it.
I'd like to be able to have the user press the "EXIT" textbutton then return to a screen.
This is the code initially:
Code: Select all
textbutton "Exit" action Hide("mailbox")
Code: Select all
textbutton "Exit" action call screen ("PC")
"File "game/messages.rpy", line 174: u'call' is not a keyword argument or valid child for the textbutton statement.
textbutton "Exit" action call screen ("PC")"
I've then tried various other attempts such as trying to jump to a label each with no effect.
If it helps; my exact intention is to take the player to the PC screen once they click the Exit button.
Any help would be greatly appreciated!
Thank you!