I made a script that returns to the title menu when I right-click and esc on Renpy's preference menu, load, and save menu. I put in cancel sound, but it doesn't work.
Here's my script.
Code: Select all
key "mouseup_3" action [Play("sound", "sound/se/se_03.ogg"), Return()]
key "K_ESCAPE" action [Play("sound", "sound/se/se_03.ogg"), Return()]
Is the command different in this case?
Code: Select all
frame:
vbox:
xsize 445
ysize 234
xalign .98
yalign .98
spacing 30
label _(message):
style "confirm_prompt"
text_size 30
xalign 0.5
yalign 1.7
hbox:
xalign 0.1
spacing 70
#style_group "readback"
imagebutton auto "grp/parts/quitYES_%s.png" xpos 72 ypos 32 activate_sound "sound/se/se_02.ogg" hover_sound "sound/se/se_01.ogg" action yes_action
imagebutton auto "grp/parts/quitNO_%s.png" xpos 79 ypos 32 activate_sound "sound/se/se_03.ogg" hover_sound "sound/se/se_01.ogg" action no_action
key "mouseup_3" action [Play("sound", "sound/se/se_03.ogg"), no_action]
key "K_ESCAPE" action [Play("sound", "sound/se/se_03.ogg"), no_action]
What's wrong? Ask for advice. Thank you so much in advance.