The image button works. But why?
Why does the action statement work? Like, you can write multiple statements between brackets and it will work or is it because of another thing?
$ quick_menu = False
define e = Character("Eileen", voice_tag="eileen")
define y = Character("Yo", voice_tag="yo")
image botonvoz = "images/botonvoz.png"
image botonvozhover = "images/botonvozhover.png"
image botonvozselect = "images/botonvozselect.png"
screen voice_toggle:
frame:
xalign 1.0 ypos 70
imagebutton:
idle "botonvoz"
hover "botonvozhover"
selected_idle "botonvozselect"
#This stament below is the one i'm confused about!
action [ToggleVoiceMute("eileen"),ToggleVoiceMute("yo")]
# vbox:
# textbutton "Mute Eileen" action ToggleVoiceMute("eileen")
# textbutton "Mute me" action ToggleVoiceMute("yo")
label start:
show screen voice_toggle
voice "pistaprueba.wav"
e "You can turn a character's voice on and off."
voice "pistaprueba.wav"
y "Yeah! Now I can finally shut you up!"
voice "pistaprueba.wav"
y "Wait... that means they can mute me as well! Really?"
return