Simply put, I have a menu where you click of a few buttons that set variables. What I'm stuck on is that I want when you close the menu for it to jump you to a different part in the script depending on what you clicked on. I first got it to close, then I tried adding another action, but somehow I can't even get it to close anymore. I'm not sure what I'm missing.
This is what I have in the screens file:
Code: Select all
screen AmuletMenu():
zorder 100
tag menu
style_prefix "AmuletMenu"
frame:
xpadding 10
ypadding 10
xalign 0.5
yalign 0.0
button:
action [jump(noanswe), return()]
text _("go")
Code: Select all
File "game/screens.rpy", line 1560: u'return' is not a keyword argument or valid child for the button statement.
action return()