I want to add a sound effect when a screen appears. This screen is a popup/ notification kind of thing, so I want a sound to play with it.
I don't really know what I'm doing, but I tried this:
Code: Select all
on "show" action Play(audio, "sounds/notification.wav", selected=False)
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/forum_ff.rpy", line 61, in script
pause
File "renpy/common/000statements.rpy", line 416, in execute_pause
renpy.pause()
File "renpy/common/00action_audio.rpy", line 64, in __call__
renpy.music.play(self.file, channel=self.channel, **self.kwargs)
TypeError: argument of type 'StoreModule' is not iterable