This is my first time posting here so I hope I'm doing it right.
I want to create a new audio channel so that I can have multiple sound effects looping, but every time I do I get an error message. I've tried everything I can think of and tried to look up if I'm getting the syntax wrong but I'm still not that bright when it comes to programming. Can someone help direct me what I'm doing wrong? It will be much appreciated~
Here is the most recent code I am putting into the options.rpy script (I am putting it in the section by default marked "Sounds and Music" underneath the mixer controls if that makes a difference)
Code: Select all
define renpy.music.register_channel("nature", "sfx", loop=True)Code: Select all
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/options.rpy", line 55: expected '=' not found.
define renpy.music.register_channel("nature", "sfx", loop=True)
^
Ren'Py Version: Ren'Py 7.3.5.606
Sun Jul 26 10:09:32 2020